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
105f316d
Commit
105f316d
authored
7 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
Primary extension for image pairs is now hdr, rather than img. Other little
doc tweaks.
parent
ba8b7dc2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
fsl/data/image.py
+2
-2
2 additions, 2 deletions
fsl/data/image.py
fsl/utils/imcp.py
+1
-1
1 addition, 1 deletion
fsl/utils/imcp.py
fsl/utils/path.py
+1
-1
1 addition, 1 deletion
fsl/utils/path.py
with
4 additions
and
4 deletions
fsl/data/image.py
+
2
−
2
View file @
105f316d
...
@@ -1284,8 +1284,8 @@ EXTENSION_DESCRIPTIONS = ['Compressed NIFTI images',
...
@@ -1284,8 +1284,8 @@ EXTENSION_DESCRIPTIONS = ['Compressed NIFTI images',
"""
Descriptions for each of the extensions in :data:`ALLOWED_EXTENSIONS`.
"""
"""
Descriptions for each of the extensions in :data:`ALLOWED_EXTENSIONS`.
"""
FILE_GROUPS
=
[(
'
.
img
'
,
'
.
hdr
'
),
FILE_GROUPS
=
[(
'
.
hdr
'
,
'
.
img
'
),
(
'
.
img
.gz
'
,
'
.
hdr
.gz
'
)]
(
'
.
hdr
.gz
'
,
'
.
img
.gz
'
)]
"""
File suffix groups used by :func:`addExt` to resolve file path
"""
File suffix groups used by :func:`addExt` to resolve file path
ambiguities - see :func:`fsl.utils.path.addExt`.
ambiguities - see :func:`fsl.utils.path.addExt`.
"""
"""
...
...
This diff is collapsed.
Click to expand it.
fsl/utils/imcp.py
+
1
−
1
View file @
105f316d
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Author: Paul McCarthy <pauldmccarthy@gmail.com>
# Author: Paul McCarthy <pauldmccarthy@gmail.com>
#
#
"""
"""
This module contains functions for moving/copying NIFIT image files.
.. autosummary::
.. autosummary::
:nosignatures:
:nosignatures:
...
...
This diff is collapsed.
Click to expand it.
fsl/utils/path.py
+
1
−
1
View file @
105f316d
...
@@ -253,7 +253,7 @@ def getFileGroup(path,
...
@@ -253,7 +253,7 @@ def getFileGroup(path,
[(
'
.img
'
,
'
.hdr
'
),
[(
'
.img
'
,
'
.hdr
'
),
(
'
.img.gz
'
,
'
.hdr.gz
'
)]
(
'
.img.gz
'
,
'
.hdr.gz
'
)]
If you specify``fileGroups=[(
'
.img
'
,
'
.hdr
'
)]`` and ``prefix=
'
file
'
``, and
If you specify
``fileGroups=[(
'
.img
'
,
'
.hdr
'
)]`` and ``prefix=
'
file
'
``, and
both ``file.img`` and ``file.hdr`` exist, the :func:`addExt` function would
both ``file.img`` and ``file.hdr`` exist, the :func:`addExt` function would
return ``file.img`` (i.e. the file which matches the first extension in
return ``file.img`` (i.e. the file which matches the first extension in
the group).
the group).
...
...
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