-
Notifications
You must be signed in to change notification settings - Fork 437
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
Remove dipy.io.trackvis #1942
Remove dipy.io.trackvis #1942
Conversation
Hello @skoudoro, Thank you for updating !
Comment last updated at 2019-08-01 15:04:32 UTC |
doc/examples/segment_quickbundles.py
Outdated
|
||
streamlines = [i[0] for i in streams] | ||
streamlines = Streamlines(fornix) |
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.
Shouldn't this be streamlines = fornix?
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.
Or the load_tractogram().streamlines directly
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.
This is a tutorial, I just wanted to be explicit for the user. So now, it is:
streamlines = fornix.streamlines
fornix = load_tractogram(fname, 'same', | ||
bbox_valid_check=False).streamlines | ||
|
||
streamlines = Streamlines(fornix) |
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.
Shouldn't this be streamlines=fornix?
fornix = load_tractogram(fname, 'same', | ||
bbox_valid_check=False).streamlines | ||
|
||
streamlines = Streamlines(fornix) |
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.
see below
Codecov Report
@@ Coverage Diff @@
## master #1942 +/- ##
=========================================
Coverage ? 82.95%
=========================================
Files ? 117
Lines ? 14620
Branches ? 2321
=========================================
Hits ? 12128
Misses ? 1950
Partials ? 542
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #1942 +/- ##
=========================================
Coverage ? 82.95%
=========================================
Files ? 117
Lines ? 14620
Branches ? 2321
=========================================
Hits ? 12128
Misses ? 1950
Partials ? 542
|
The module
dipy.io.trackvis
was deprecated since the 0.14.0 release. This PR remove this module and update all the necessary files