Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Michiel Cottaar
fslpy
Commits
38faf004
Commit
38faf004
authored
6 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Fix sphinx typos
parent
c0d35dc9
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/data/fixlabels.py
+11
-6
11 additions, 6 deletions
fsl/data/fixlabels.py
fsl/utils/fslsub.py
+3
-0
3 additions, 0 deletions
fsl/utils/fslsub.py
with
14 additions
and
6 deletions
fsl/data/fixlabels.py
+
11
−
6
View file @
38faf004
...
@@ -62,8 +62,10 @@ def loadLabelFile(filename,
...
@@ -62,8 +62,10 @@ def loadLabelFile(filename,
separated by commas:
separated by commas:
- The component index (starting from 1).
- The component index (starting from 1).
- One or more labels for the component (multiple labels must be
- One or more labels for the component (multiple labels must be
comma-separated).
comma-separated).
- ``
'
True
'
`` if the component has been classified as *bad*,
- ``
'
True
'
`` if the component has been classified as *bad*,
``
'
False
'
`` otherwise. This field is optional - if the last
``
'
False
'
`` otherwise. This field is optional - if the last
comma-separated token on a line is not equal (case-insensitive)
comma-separated token on a line is not equal (case-insensitive)
...
@@ -91,12 +93,15 @@ def loadLabelFile(filename,
...
@@ -91,12 +93,15 @@ def loadLabelFile(filename,
file is returned.
file is returned.
:returns: A tuple containing:
:returns: A tuple containing:
- The path to the melodic directory as specified in the label
file
- The path to the melodic directory as specified in the label
- A list of lists, one list per component, with each list
file
containing the labels for the corresponding component.
- If ``returnIndices is True``, a list of the noisy component
- A list of lists, one list per component, with each list
indices (starting from 1) that were specified in the file.
containing the labels for the corresponding component.
- If ``returnIndices is True``, a list of the noisy component
indices (starting from 1) that were specified in the file.
"""
"""
signalLabels
=
None
signalLabels
=
None
...
...
This diff is collapsed.
Click to expand it.
fsl/utils/fslsub.py
+
3
−
0
View file @
38faf004
...
@@ -90,8 +90,11 @@ def submit(command,
...
@@ -90,8 +90,11 @@ def submit(command,
queuing options
queuing options
:arg multi_threaded: Submit a multi-threaded task - Set to a tuple
:arg multi_threaded: Submit a multi-threaded task - Set to a tuple
containing two elements:
containing two elements:
- <pename>: a PE configures for the requested queues
- <pename>: a PE configures for the requested queues
- <threads>: number of threads to run
- <threads>: number of threads to run
:arg verbose: If True, use verbose mode
:arg verbose: If True, use verbose mode
:return: tuple of submitted job ids
:return: tuple of submitted job ids
...
...
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