Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fslpy
Commits
74812ead
Commit
74812ead
authored
5 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
RF: Warning message for convert/apply_x5
parent
3374f5a4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fsl/scripts/fsl_apply_x5.py
+10
-1
10 additions, 1 deletion
fsl/scripts/fsl_apply_x5.py
fsl/scripts/fsl_convert_x5.py
+6
-0
6 additions, 0 deletions
fsl/scripts/fsl_convert_x5.py
with
16 additions
and
1 deletion
fsl/scripts/fsl_apply_x5.py
+
10
−
1
View file @
74812ead
...
...
@@ -20,7 +20,7 @@ import fsl.utils.image.resample as resample
import
fsl.data.image
as
fslimage
def
parseArgs
(
args
=
None
):
def
parseArgs
(
args
):
"""
Parses command-line arguments.
:arg args: Sequence of command-line arguments. If ``None``, ``sys.argv``
...
...
@@ -121,6 +121,15 @@ def main(args=None):
type.
"""
if
args
is
None
:
args
=
sys
.
argv
[
1
:]
print
()
print
(
'
Warning: this version of fsl_apply_x5 is a development release.
'
'
Interface, behaviour, and input/output formats of future versions
'
'
may differ from this version.
'
)
print
()
args
=
parseArgs
(
args
)
if
x5
.
inferType
(
args
.
xform
)
==
'
linear
'
:
...
...
This diff is collapsed.
Click to expand it.
fsl/scripts/fsl_convert_x5.py
+
6
−
0
View file @
74812ead
...
...
@@ -182,6 +182,12 @@ def main(args=None):
if
args
is
None
:
args
=
sys
.
argv
[
1
:]
print
()
print
(
'
Warning: this version of fsl_convert_x5 is a development release.
'
'
Interface, behaviour, and input/output formats of future versions
'
'
may differ from this version.
'
)
print
()
args
=
parseArgs
(
args
)
if
args
.
ctype
==
'
flirt
'
:
doFlirt
(
args
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment