-
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
Add Sciply version - part 3 #1135
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1135 +/- ##
==========================================
+ Coverage 69.96% 70.04% +0.07%
==========================================
Files 448 448
Lines 24291 24363 +72
Branches 3334 3334
==========================================
+ Hits 16996 17065 +69
- Misses 5874 5878 +4
+ Partials 1421 1420 -1
|
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.
Other than a few extra blank lines to remove, this looks good to go!
@@ -19,6 +19,8 @@ | |||
from scilpy.io.utils import (assert_inputs_exist, | |||
add_verbose_arg, | |||
parser_color_type) | |||
|
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.
Why this blank line?
@@ -52,6 +52,8 @@ | |||
CuttingStyle | |||
from scilpy.tractograms.streamline_operations import \ | |||
resample_streamlines_step_size | |||
from scilpy.version import version_string | |||
|
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.
Remove this extra line.
@@ -102,14 +102,17 @@ | |||
read_info_from_mb_bdo, assert_headers_compatible) | |||
from scilpy.segment.streamlines import (filter_cuboid, filter_ellipsoid, | |||
filter_grid_roi) | |||
from scilpy.version import version_string | |||
|
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.
Remove this extra line.
@@ -35,6 +35,7 @@ | |||
from scilpy.io.utils import (assert_inputs_exist, | |||
add_verbose_arg, | |||
parser_color_type) | |||
from scilpy.version import version_string | |||
from scilpy.viz.color import generate_local_coloring | |||
|
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.
Remove one line here.
@@ -23,15 +23,17 @@ | |||
from scilpy.viz.gradients import (build_ms_from_shell_idx, | |||
plot_each_shell, | |||
plot_proj_shell) | |||
from scilpy.version import version_string | |||
|
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.
Remove this extra line.
@@ -19,6 +19,8 @@ | |||
from scilpy.io.utils import (assert_inputs_exist, | |||
add_verbose_arg, | |||
parser_color_type) | |||
|
|||
from scilpy.version import version_string | |||
from scilpy.viz.color import lut_from_matplotlib_name | |||
|
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.
Remove this blank line.
@@ -28,16 +28,18 @@ | |||
add_verbose_arg, | |||
assert_outputs_exist) | |||
from scilpy.utils import is_float | |||
from scilpy.version import version_string | |||
|
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.
Remove this extra line.
Quick description
Fix issue #760
Part 3 (final) of adding the Scilpy version to the scripts.
I also added a blank line in _build_arg_parser because some scripts (from scil_NODDI_maps.py to scil-volume_stats_in_ROI.py) had it and some others didn't: