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
Tractogram scripts part 5 #983
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 #983 +/- ##
==========================================
+ Coverage 67.97% 67.98% +0.01%
==========================================
Files 419 419
Lines 21615 21610 -5
Branches 3251 3248 -3
==========================================
- Hits 14693 14692 -1
+ Misses 5633 5632 -1
+ Partials 1289 1286 -3
|
a0e6a3c
to
9edc38f
Compare
@@ -113,22 +112,24 @@ def main(): | |||
args = parser.parse_args() | |||
logging.getLogger().setLevel(logging.getLevelName(args.verbose)) | |||
|
|||
# Verifications |
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.
Do we really need this comment? the methods are already pretty explicit in what they do...
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.
So far, all scripts I checked have been separated into: verifications, loading, processing, saving. Easier to proof-read for me.
@EmmaRenauld I just realized that scil_connectivity_pairwise_agreement.py use the word agreement, not comparison. Should it be a small PR or should we wait for a big connectivity refactor? |
Indeed, I see that we have Is there a fundamental difference between these 3 scripts in the reason why we would want to use them, of the type of study? If not, I can change it if you want, in any PR. |
They all return json with scores of similarity (dice, correlation, etc). And I just did a PR for the same concept with volume (for masks and atlas): scil_volume_pairwise_comparison.py |
Quick description
Next step in tractogram scripts verification. All the next scripts were already pretty much ok! Yeah! Pretty much only formatting changes, and more verifications!
Stopped after 6 scripts. A part 6 will follow :)
scil_tractogram_math
scil_tractogram_pairwise_comparison
scil_tractogram_project_maps_to_streamlines
scil_tractogram_project_streamlines_to_map
scil_tractogram_qbx
scil_tractogram_register
Type of change
Check the relevant options.
Checklist