-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow partitioninfo
to filter categories
#86
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #86 +/- ##
==========================================
+ Coverage 41.95% 42.07% +0.11%
==========================================
Files 26 26
Lines 1971 1975 +4
==========================================
+ Hits 827 831 +4
Misses 1144 1144 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but I did not run the code. One minor comment
@@ -107,7 +107,7 @@ function get_partitionvalidity(data::LegendData, ch::ChannelIdLike, det::Detecto | |||
# unpack | |||
ch, det, part = ChannelId(ch), DetectorId(det), DataPartition(part) | |||
# get partition validity | |||
partinfo = partitioninfo(data, ch, part) | |||
partinfo = partitioninfo(data, ch, part; category=cal) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this should be cat
instead of cal
partitioninfo
allows to filter foranalysis_runs
only to be able to parse:phy
and:cal