-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #835 from arnaudbore/update_philips_reorder
Rename reorder_dwi
- Loading branch information
Showing
4 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
|
||
from scilpy.io.deprecator import deprecate_script | ||
from scripts.scil_dwi_reorder_philips import main as new_main | ||
|
||
|
||
DEPRECATION_MSG = """ | ||
This script has been renamed scil_dwi_reorder_philips.py. | ||
Please change your existing pipelines accordingly. | ||
""" | ||
|
||
|
||
@deprecate_script("scil_reorder_dwi_philips.py", DEPRECATION_MSG, '1.7.0') | ||
def main(): | ||
new_main() | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
|
||
|
||
def test_help_option(script_runner): | ||
ret = script_runner.run('scil_dwi_reorder_philips.py', '--help') | ||
assert ret.success |