Skip to content

Commit 63a6ec0

Browse files
authored
Merge pull request #239 from FCP-INDI/update/cpac-wrapper-crash-command
📚 Add `cpac crash` command to documentation
2 parents 47a3905 + e05c6be commit 63a6ec0

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

docs/_sources/user/help.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,16 @@ If you find a bug, or would like to request a new feature please visit the `GitH
88
If you have a question that is not answered in the User Guide or encounter an issue not covered in the `Common Issues and Solutions` section below, you should submit it to the `C-PAC user forum <https://groups.google.com/forum/#!forum/cpax_forum>`__.
99

1010
View Crash Files
11-
^^^^^^^^^^^^^^^^^^^
12-
If you run C-PAC through the container (Docker/Singularity), you need to enter the container by typing:
11+
^^^^^^^^^^^^^^^^
12+
If you have the :ref:`cpac Python package <cpac-python-package>`, you can simply run
13+
14+
.. code-block:: console
15+
16+
cpac crash /path/to/crash-file.pklz
17+
18+
where :file:`/path/to/crash-file.pklz` is the path to the crash file you wish to view (with any necessary options, e.g., ``--image`` to specify a C-PAC image to use).
19+
20+
Otherwise, you need to enter the container by typing:
1321

1422
.. code-block:: console
1523
@@ -23,7 +31,7 @@ Crash files are generated by Nipype, and can be viewed from the terminal by typi
2331
nipypecli crash crash-file.pklz
2432
2533
26-
Where :file:`crash-file.pklz` is the name of the crash file you wish to view.
34+
where :file:`crash-file.pklz` is the name of the crash file you wish to view.
2735

2836
Common Issues
2937
^^^^^^^^^^^^^

docs/_sources/user/quick.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ C-PAC Quickstart
33

44
.. include:: quick_overview.rst
55

6+
.. _cpac-python-package:
7+
68
.. include:: cpac.rst
79

810
For instructions to run in Docker or Singularity without installing cpac (Python package), see :doc:`All Run Options </user/running>`

0 commit comments

Comments
 (0)