Skip to content

Commit 8a16947

Browse files
committed
🚧 📝 Document 1.7 → 1.8 pipeline config key mappings
1 parent f3198a9 commit 8a16947

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ commands:
2424
source ~/simple/bin/activate
2525
pip install cpac
2626
deactivate
27+
link-references:
28+
steps:
29+
- run:
30+
name: 🖇️ Linking references
31+
command: ln $(python -c "import os, CPAC; print(os.path.abspath(os.path.dirname(CPAC.__file__)))")/resources/configs/1.7-1.8-nesting-mappings.yml docs/_sources/references/1.7-1.8-nesting-mappings.yml
2732
run-cpac-commands:
2833
steps:
2934
- setup_remote_docker
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.. title:: C-PAC 1.7 → 1.8 pipeline configuration mappings
2+
3+
The following YAML is formatted such that the keys are the pipeline configuration keys in C-PAC ≤ 1.7 and the values are a list of successively deeper keys in a C-PAC 1.8 pipeline configuration. For example,
4+
.. code-block:: YAML
5+
6+
pipelineName:
7+
- pipeline_setup
8+
- pipeline_name
9+
10+
indicates the change, from 1.7
11+
12+
.. code-block:: YAML
13+
14+
pipelineName: pipline-name_value
15+
16+
to 1.8
17+
18+
.. code-block:: YAML
19+
20+
pipeline_setup:
21+
pipeline_name: pipeline-name_value
22+
23+
The full list of mappings is as follows:
24+
25+
.. literalinclude:: /references/1.7-1.8-nesting-mappings.yml
26+
:language: YAML

docs/_sources/user/design_a_pipeline.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
Design A Pipeline
22
-----------------
33

4+
.. warning::
5+
6+
The C-PAC pipeline configuration was changed to a nested format with import capabilities in v1.8.0.
7+
8+
With this change, the following configuration keys are deprecated:
9+
10+
* ``TR``
11+
* ``fdCalc``
12+
* ``reGenerateOutputs``
13+
* ``runMedianAngleCorrection``
14+
* ``slice_timing_pattern``
15+
* ``targetAngleDeg``
16+
* ``runSymbolicLinks``
17+
18+
Mappings for all other C-PAC 1.7 keys can be found :doc:`here </user/1.7-1.8-nesting-mappings>`.
19+
420
C-PAC offers a graphical interface you can use to quickly and easily modify the default pipeline or create your own from scratch:
521

622
`https://fcp-indi.github.io/C-PAC_GUI/versions/latest/browser/#/ <https://fcp-indi.github.io/C-PAC_GUI/versions/latest/browser/#/>`_

0 commit comments

Comments
 (0)