-
Notifications
You must be signed in to change notification settings - Fork 75
[ENH] Update to dipy 1.13 - DO NOT MERGE - #1317
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
base: master
Are you sure you want to change the base?
Changes from 3 commits
e01f3b5
26055c1
c78eb6c
20fd09d
1ccb28a
a3d9c02
9b3e81a
8e2ca1d
adba889
1df71b9
54c574e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| 3.12 | ||
| >=3.10, < 3.13 | ||
| >=3.11, < 3.13 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,10 +19,10 @@ def test_help_option(script_runner): | |
|
|
||
| def test_execution_surface_vtk_fib(script_runner, monkeypatch): | ||
| monkeypatch.chdir(os.path.expanduser(tmp_dir.name)) | ||
| in_fib = os.path.join(SCILPY_HOME, 'surface_vtk_fib', | ||
| 'gyri_fanning.fib') | ||
| in_trk = os.path.join(SCILPY_HOME, 'surface_vtk_fib', | ||
| 'gyri_fanning.trk') | ||
| in_fa = os.path.join(SCILPY_HOME, 'surface_vtk_fib', | ||
| 'fa.nii.gz') | ||
| ret = script_runner.run(['scil_tractogram_convert', in_fib, | ||
| 'gyri_fanning.trk', '--reference', in_fa]) | ||
| ret = script_runner.run(['scil_tractogram_convert', in_trk, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I take it we can't convert fib to trk anymore?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can but the fib file we have for our test are not correct.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we update the file then, before merging the PR?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @frheault do you think it's worth it ? we can remove the file or I create a new/fixed .fib file by converting the trk to fib. |
||
| 'gyri_fanning converted.fib', '--reference', in_fa]) | ||
| assert ret.success | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,10 +19,10 @@ def test_help_option(script_runner): | |
|
|
||
| def test_execution_surface_vtk_fib(script_runner, monkeypatch): | ||
| monkeypatch.chdir(os.path.expanduser(tmp_dir.name)) | ||
| in_fib = os.path.join(SCILPY_HOME, 'surface_vtk_fib', | ||
| 'gyri_fanning.fib') | ||
| in_trk = os.path.join(SCILPY_HOME, 'surface_vtk_fib', | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure the name of this test really fits the content? What is
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "surface_vtk_fib" is the test folder used here. |
||
| 'gyri_fanning.trk') | ||
| in_fa = os.path.join(SCILPY_HOME, 'surface_vtk_fib', | ||
| 'fa.nii.gz') | ||
| ret = script_runner.run(['scil_tractogram_flip', in_fib, | ||
| 'gyri_fanning.tck', 'x', '--reference', in_fa]) | ||
| ret = script_runner.run(['scil_tractogram_flip', in_trk, | ||
| 'gyri_fanning_fliped.tck', 'x', '--reference', in_fa]) | ||
| assert ret.success | ||
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 change would be because nlmeans does not support 4D volumes anymore?