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
06a36a06
Commit
06a36a06
authored
4 years ago
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
DOC: fixed a bug in the documentation identified by Chris
parent
6df9ee53
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fsl/utils/filetree/__init__.py
+12
-8
12 additions, 8 deletions
fsl/utils/filetree/__init__.py
with
12 additions
and
8 deletions
fsl/utils/filetree/__init__.py
+
12
−
8
View file @
06a36a06
...
...
@@ -230,17 +230,21 @@ altering this behaviour is again as simple as altering the FileTree to something
::
raw_data
{subject}
[ses-{session}]
{subject}
(input_subject_dir)
[ses-{session}]
(input_session_dir)
T1w.nii.gz
processed_data
{subject}
[ses-{session}]
{subject}
(output_subject_dir)
[ses-{session}]
(output_session_dir)
bet
{subject}[_{session}]_T1w_brain.nii.gz (bet_output)
{subject}[_{session}]_T1w_brain_mask.nii.gz (bet_mask)
Note that we also encoded the subject and session ID in the output filename.
We also have to explicitly assign short names to the subject and session directories,
even though we don
'
t
explicitly
reference
these
in
the
script
.
The
reason
for
this
is
that
each
directory
and
filename
template
must
have
a
unique
short
name
and
in
this
case
the
default
short
names
(
respectively
,
"
{subject}
"
and
"
[ses-{session}]
"
)
would
not
have
been
unique
.
Some tools like FSL
'
s
FAST
produce
many
output
files
.
Rather
than
entering
all
of
these
files
in
our
FileTree
by
hand
you
can
include
them
all
at
once
by
including
`Sub-trees`
_
:
...
...
@@ -248,12 +252,12 @@ of these files in our FileTree by hand you can include them all at once by inclu
::
raw_data
{subject}
[ses-{session}]
{subject}
(input_subject_dir)
[ses-{session}]
(input_session_dir)
T1w.nii.gz
processed_data
{subject}
[ses-{session}]
{subject}
(output_subject_dir)
[ses-{session}]
(output_session_dir)
bet
{subject}[_{session}]_T1w_brain.nii.gz (bet_output)
{subject}[_{session}]_T1w_brain_mask.nii.gz (bet_mask)
...
...
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