-
Notifications
You must be signed in to change notification settings - Fork 62
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
RF - Input to volume stats scripts #1068
base: master
Are you sure you want to change the base?
Conversation
Hello @gabknight, Thank you for updating !
Comment last updated at 2025-01-08 18:53:16 UTC |
4c185ea
to
7079040
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1068 +/- ##
==========================================
+ Coverage 69.41% 69.57% +0.16%
==========================================
Files 447 448 +1
Lines 24046 24092 +46
Branches 3280 3295 +15
==========================================
+ Hits 16691 16762 +71
+ Misses 5960 5936 -24
+ Partials 1395 1394 -1
|
@gabknight I gave it a try and there are some errors when I use the metrics_dir. |
hmm, it seems the error was unrelated to this PR. Should have tested it though, thanks for checking. Could you re-test now? |
a45f561
to
fe35d8e
Compare
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.
Code seems ok! Small comment on the --help.
The mask can either be a binary mask, or a weighting mask. If the mask is | ||
a weighting mask it should either contain floats between 0 and 1 or should be | ||
normalized with --normalize_weights. IMPORTANT: if the mask contains weights | ||
The ROIs can either be a binary masks, or a weighting masks. If the ROIs are |
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.
(a binary mask), or (binary masks.)
(a weighting mask) or (weighting masks)
a weighting mask it should either contain floats between 0 and 1 or should be | ||
normalized with --normalize_weights. IMPORTANT: if the mask contains weights | ||
The ROIs can either be a binary masks, or a weighting masks. If the ROIs are | ||
weighting masks it should either contain floats between 0 and 1 or should be |
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.
weighting masks, they
@@ -11,15 +11,18 @@ | |||
""" |
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.
In the description above, can you change input map for input metric (s)?. Then, maybe something like "if more than one metric maps are provided, statistics are computed separately for each".
Quick description
Add new input features to
scil_volume_stats_in_labels.py
in_map
was replaced by the argument groupMetrics input options
, allowing for a list of metric filenames or a metric folder;metric
;add_json_args
and corresponding formatting to the output json;scil_volume_stats_in_ROI.py
in_mask
toin_rois
, allowing for multiple input mask.roi_name
;...
Type of change
Check the relevant options.
Provide data, screenshots, command line to test (if relevant)
...
Checklist