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
75a2eea6
Commit
75a2eea6
authored
6 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
note in wrapper docs about submit argument
parent
0fbe84e7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fsl/wrappers/__init__.py
+12
-0
12 additions, 0 deletions
fsl/wrappers/__init__.py
with
12 additions
and
0 deletions
fsl/wrappers/__init__.py
+
12
−
0
View file @
75a2eea6
...
@@ -13,6 +13,18 @@ For example, you can call BET like so::
...
@@ -13,6 +13,18 @@ For example, you can call BET like so::
from fsl.wrappers import bet
from fsl.wrappers import bet
bet(
'
struct
'
,
'
struct_brain
'
)
bet(
'
struct
'
,
'
struct_brain
'
)
If you would like a command to be submitted as a cluster job, all wrappers
accept a ``submit`` keyword argument, which may be given a value of ``True``
indicating that the job should be submitted with default settings, or a
dictionary with submission settings::
from fsl.wrappers import fnirt
fnirt(
'
srf
'
,
'
ref
'
,
'
out
'
, submit=True)
fnirt(
'
srf
'
,
'
ref
'
,
'
out
'
, submit={
'
queue
'
:
'
long.q
'
,
'
ram
'
:
'
4GB
'
})
See the :mod:`.fslsub` module for more details.
Most of these wrapper functions strive to provide an interface which is as
Most of these wrapper functions strive to provide an interface which is as
close as possible to the underlying command-line tool. Most functions use
close as possible to the underlying command-line tool. Most functions use
...
...
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