-
Notifications
You must be signed in to change notification settings - Fork 60
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
Update script scil_viz_gradients_screenshot #1097
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1097 +/- ##
==========================================
+ Coverage 69.46% 69.54% +0.07%
==========================================
Files 447 448 +1
Lines 24052 24076 +24
Branches 3291 3290 -1
==========================================
+ Hits 16708 16743 +35
+ Misses 5946 5940 -6
+ Partials 1398 1393 -5
|
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.
Change points to bvecs otherwise LGTM
Done! |
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.
Did not test but seems ok!
@@ -88,7 +89,7 @@ def main(): | |||
|
|||
if len(args.in_gradient_scheme) == 2: | |||
assert_gradients_filenames_valid(parser, args.in_gradient_scheme, | |||
'fsl') | |||
True) |
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.
Can you please put input_is_fsl=True
, instead of only True?
@@ -97,7 +98,7 @@ def main(): | |||
else: | |||
assert_gradients_filenames_valid(parser, | |||
args.in_gradient_scheme, | |||
'mrtrix') | |||
False) |
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.
Same
Quick description
The reading of .bvals and .bvecs files was outdated in
scil_viz_gradients_screenshot.py
. I used read_bvals_bvecs instead. Also, I changed the last argument given toassert_gradients_filenames_valid
, which was not working at all. (supposed to be a bool but was 'fsl' or 'mrtrix')...
Type of change
Check the relevant options.
Provide data, screenshots, command line to test (if relevant)
...
Checklist