-
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 Scilpy version - part 1 #1100
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1100 +/- ##
==========================================
+ Coverage 69.52% 69.71% +0.18%
==========================================
Files 448 448
Lines 24087 24138 +51
Branches 3295 3295
==========================================
+ Hits 16747 16827 +80
+ Misses 5945 5915 -30
- Partials 1395 1396 +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.
Good to go after my comment has been adressed
description=__doc__ + tractometry_description, | ||
formatter_class=argparse.RawTextHelpFormatter) | ||
p = argparse.ArgumentParser(description=__doc__, | ||
formatter_class=argparse.RawTextHelpFormatter, |
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 think here you need to keep the + tractometry_description
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.
Great job! I found a few things to adjust but it should be quick. Good to go after that!
Formerly: scil_compute_asym_odf_metrics.py | ||
------------------------------------------------------------------------ | ||
|
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.
Empty line here. It should be removed to be as the others.
@@ -11,6 +11,14 @@ | |||
Please use a hdf5 (.h5) file containing decomposed connections | |||
|
|||
Formerly: scil_compute_fixel_afd_from_hdf5.py | |||
---------------------------------------------------------------------------- | |||
|
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 here, remove the line.
@@ -28,6 +28,14 @@ | |||
and --g2. | |||
|
|||
Formerly: scil_compare_connectivity.py | |||
---------------------------------------------------------------------------- | |||
[1] Rubinov, Mikail, and Olaf Sporns. "Complex network measures of brain |
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.
Missing the "References:"
@@ -33,6 +33,11 @@ | |||
|
|||
Formerly: scil_compute_bundle_volume.py or | |||
scil_evaluate_bundles_individual_measures.py | |||
------------------------------------------------------------------------------ | |||
References: |
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.
Reference*
------------------------------------------------------------------------------- | ||
References: | ||
[1] Chamberland M, Raven EP, Genc S, Duffy K, Descoteaux M, Parker GD, Tax CMW, | ||
Jones DK. Dimensionality reduction of diffusion MRI measures for improved |
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.
Add tabs to make it clearer (like other scripts).
import numpy as np | ||
|
||
from dipy.io.gradients import read_bvals_bvecs |
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 did you move that? If I am not mistaken, it should be with the libraries like numpy.
@@ -23,7 +23,25 @@ | |||
given as the ratio of the L2-norm of odd SH coefficients on the L2-norm of all | |||
SH coefficients. | |||
|
|||
|
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 line also, just one line between paragraphs.
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 comments!
|
||
----------------------------------------------------------------------------- | ||
Reference: | ||
[1] Raffelt, D., Tournier, JD., Rose, S., Ridgway, GR., Henderson, R., |
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 tab here.
@@ -11,6 +11,15 @@ | |||
Please use a bundle file rather than a whole tractogram. | |||
|
|||
Formerly: scil_compute_fixel_afd_from_bundles.py | |||
|
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 line.
Fix issue #760
Part 1 of adding the Scilpy version to the scripts