Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OrcaSong
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Machine Learning
OrcaSong
Commits
a4043046
Commit
a4043046
authored
4 years ago
by
Stefan Reck
Browse files
Options
Downloads
Patches
Plain Diff
remove keep_mc_tracks option; default for keep_event_info is now False
parent
8aa3605c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
orcasong/core.py
+2
-8
2 additions, 8 deletions
orcasong/core.py
with
2 additions
and
8 deletions
orcasong/core.py
+
2
−
8
View file @
a4043046
...
...
@@ -47,9 +47,7 @@ class BaseProcessor:
Chunksize (along axis_0) used for saving the output
to a .h5 file [default: 32].
keep_event_info : bool
If True, will keep the
"
event_info
"
table [default: True].
keep_mc_tracks : bool
If True, will keep the
"
McTracks
"
table. It
'
s large! [default: False]
If True, will keep the
"
event_info
"
table [default: False].
overwrite : bool
If True, overwrite the output file if it exists already.
If False, throw an error instead.
...
...
@@ -87,8 +85,7 @@ class BaseProcessor:
add_t0
=
False
,
event_skipper
=
None
,
chunksize
=
32
,
keep_event_info
=
True
,
keep_mc_tracks
=
False
,
keep_event_info
=
False
,
overwrite
=
True
,
mc_info_to_float64
=
True
):
self
.
mc_info_extr
=
mc_info_extr
...
...
@@ -99,7 +96,6 @@ class BaseProcessor:
self
.
event_skipper
=
event_skipper
self
.
chunksize
=
chunksize
self
.
keep_event_info
=
keep_event_info
self
.
keep_mc_tracks
=
keep_mc_tracks
self
.
overwrite
=
overwrite
self
.
mc_info_to_float64
=
mc_info_to_float64
...
...
@@ -210,8 +206,6 @@ class BaseProcessor:
keys_keep
=
[
'
samples
'
,
'
mc_info
'
,
"
header
"
,
"
raw_header
"
]
if
self
.
keep_event_info
:
keys_keep
.
append
(
'
EventInfo
'
)
if
self
.
keep_mc_tracks
:
keys_keep
.
append
(
'
McTracks
'
)
cmpts
.
append
((
km
.
common
.
Keep
,
{
"
keys
"
:
keys_keep
}))
cmpts
.
append
((
kp
.
io
.
HDF5Sink
,
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment