-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from nmuncy/doc/singularity
[DOC] added singularity build and usage
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
The pyAFQ singularity image | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Assuming the singularity image ``pyafq_latest.sif`` exists, trigger the | ||
entrypoint ``pyafq`` to run the workflow with:: | ||
|
||
apptainer run \ | ||
--bind bids_dir:bids_dir \ | ||
pyafq_latest.sif bids_dir/config.toml | ||
|
||
.. note:: | ||
|
||
It may be necessary to set the global variable TEMPLATEFLOW_HOME to | ||
reference a pull of `TemplateFlow <https://www.templateflow.org>`_: | ||
|
||
``export TEMPLATEFLOW_HOME=/path/to/templateflow`` |