Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Evan Edmond
fslpy
Commits
e942729c
Commit
e942729c
authored
Nov 26, 2020
by
Evan Edmond
Browse files
Apply 1 suggestion(s) to 1 file(s)
parent
5e7f6f37
Changes
1
Show whitespace changes
Inline
Side-by-side
fsl/utils/filetree/__init__.py
View file @
e942729c
...
...
@@ -309,9 +309,11 @@ You can update the FileTree with one or more variables before calling `get_all_t
.. code-block:: python
for t in tree.update(participant=("001", "002"), run=("1")).get_all_trees("feat_dir"):
for participant in ("001", "002"):
for t in tree.update(participant=participant, run="1").get_all_trees("feat_dir", glob_vars="all"):
my_pipeline(t)
This code will iterate over all sessions that have a run="1" for participants "001" and "002".
"""
__author__
=
'Michiel Cottaar <Michiel.Cottaar@ndcn.ox.ac.uk>'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment