@@ -14,59 +14,63 @@ Logging
1414~~~~~~~
1515
1616*workflow_level *
17- How detailed the logs regarding workflow should be (possible values:
18- ``INFO `` and ``DEBUG ``; default value: ``INFO ``)
19- *filemanip_level *
20- How detailed the logs regarding file operations (for example overwriting
21- warning) should be (possible values: ``INFO `` and ``DEBUG ``; default value:
22- ``INFO ``)
17+ How detailed the logs regarding workflow should be (possible values:
18+ ``INFO `` and ``DEBUG ``; default value: ``INFO ``)
19+ *utils_level *
20+ How detailed the logs regarding nipype utils, like file operations
21+ (for example overwriting warning) or the resource profiler, should be
22+ (possible values: ``INFO `` and ``DEBUG ``; default value:
23+ ``INFO ``)
2324*interface_level *
24- How detailed the logs regarding interface execution should be (possible
25- values: ``INFO `` and ``DEBUG ``; default value: ``INFO ``)
25+ How detailed the logs regarding interface execution should be (possible
26+ values: ``INFO `` and ``DEBUG ``; default value: ``INFO ``)
27+ *filemanip_level * (deprecated as of 1.0)
28+ How detailed the logs regarding file operations (for example overwriting
29+ warning) should be (possible values: ``INFO `` and ``DEBUG ``)
2630*log_to_file *
2731 Indicates whether logging should also send the output to a file (possible
2832 values: ``true `` and ``false ``; default value: ``false ``)
2933*log_directory *
30- Where to store logs. (string, default value: home directory)
34+ Where to store logs. (string, default value: home directory)
3135*log_size *
32- Size of a single log file. (integer, default value: 254000)
36+ Size of a single log file. (integer, default value: 254000)
3337*log_rotate *
34- How many rotation should the log file make. (integer, default value: 4)
38+ How many rotation should the log file make. (integer, default value: 4)
3539
3640Execution
3741~~~~~~~~~
3842
3943*plugin *
40- This defines which execution plugin to use. (possible values: ``Linear ``,
41- ``MultiProc ``, ``SGE ``, ``IPython ``; default value: ``Linear ``)
44+ This defines which execution plugin to use. (possible values: ``Linear ``,
45+ ``MultiProc ``, ``SGE ``, ``IPython ``; default value: ``Linear ``)
4246
4347*stop_on_first_crash *
44- Should the workflow stop upon first node crashing or try to execute as many
45- nodes as possible? (possible values: ``true `` and ``false ``; default value:
46- ``false ``)
48+ Should the workflow stop upon first node crashing or try to execute as many
49+ nodes as possible? (possible values: ``true `` and ``false ``; default value:
50+ ``false ``)
4751
4852*stop_on_first_rerun *
49- Should the workflow stop upon first node trying to recompute (by that we
50- mean rerunning a node that has been run before - this can happen due changed
51- inputs and/or hash_method since the last run). (possible values: ``true ``
52- and ``false ``; default value: ``false ``)
53+ Should the workflow stop upon first node trying to recompute (by that we
54+ mean rerunning a node that has been run before - this can happen due changed
55+ inputs and/or hash_method since the last run). (possible values: ``true ``
56+ and ``false ``; default value: ``false ``)
5357
5458*hash_method *
55- Should the input files be checked for changes using their content (slow, but
56- 100% accurate) or just their size and modification date (fast, but
57- potentially prone to errors)? (possible values: ``content `` and
58- ``timestamp ``; default value: ``timestamp ``)
59+ Should the input files be checked for changes using their content (slow, but
60+ 100% accurate) or just their size and modification date (fast, but
61+ potentially prone to errors)? (possible values: ``content `` and
62+ ``timestamp ``; default value: ``timestamp ``)
5963
6064*keep_inputs *
6165 Ensures that all inputs that are created in the nodes working directory are
6266 kept after node execution (possible values: ``true `` and ``false ``; default
6367 value: ``false ``)
6468
6569*single_thread_matlab *
66- Should all of the Matlab interfaces (including SPM) use only one thread?
67- This is useful if you are parallelizing your workflow using MultiProc or
68- IPython on a single multicore machine. (possible values: ``true `` and
69- ``false ``; default value: ``true ``)
70+ Should all of the Matlab interfaces (including SPM) use only one thread?
71+ This is useful if you are parallelizing your workflow using MultiProc or
72+ IPython on a single multicore machine. (possible values: ``true `` and
73+ ``false ``; default value: ``true ``)
7074
7175*display_variable *
7276 What ``$DISPLAY `` environment variable should utilize those interfaces
@@ -83,29 +87,29 @@ Execution
8387 set)
8488
8589*remove_unnecessary_outputs *
86- This will remove any interface outputs not needed by the workflow. If the
87- required outputs from a node changes, rerunning the workflow will rerun the
88- node. Outputs of leaf nodes (nodes whose outputs are not connected to any
89- other nodes) will never be deleted independent of this parameter. (possible
90- values: ``true `` and ``false ``; default value: ``true ``)
90+ This will remove any interface outputs not needed by the workflow. If the
91+ required outputs from a node changes, rerunning the workflow will rerun the
92+ node. Outputs of leaf nodes (nodes whose outputs are not connected to any
93+ other nodes) will never be deleted independent of this parameter. (possible
94+ values: ``true `` and ``false ``; default value: ``true ``)
9195
9296*try_hard_link_datasink *
93- When the DataSink is used to produce an orginized output file outside
94- of nipypes internal cache structure, a file system hard link will be
95- attempted first. A hard link allow multiple file paths to point to the
96- same physical storage location on disk if the conditions allow. By
97- refering to the same physical file on disk (instead of copying files
98- byte-by-byte) we can avoid unnecessary data duplication. If hard links
99- are not supported for the source or destination paths specified, then
100- a standard byte-by-byte copy is used. (possible values: ``true `` and
101- ``false ``; default value: ``true ``)
97+ When the DataSink is used to produce an orginized output file outside
98+ of nipypes internal cache structure, a file system hard link will be
99+ attempted first. A hard link allow multiple file paths to point to the
100+ same physical storage location on disk if the conditions allow. By
101+ refering to the same physical file on disk (instead of copying files
102+ byte-by-byte) we can avoid unnecessary data duplication. If hard links
103+ are not supported for the source or destination paths specified, then
104+ a standard byte-by-byte copy is used. (possible values: ``true `` and
105+ ``false ``; default value: ``true ``)
102106
103107*use_relative_paths *
104- Should the paths stored in results (and used to look for inputs)
105- be relative or absolute. Relative paths allow moving the whole
106- working directory around but may cause problems with
107- symlinks. (possible values: ``true `` and ``false ``; default
108- value: ``false ``)
108+ Should the paths stored in results (and used to look for inputs)
109+ be relative or absolute. Relative paths allow moving the whole
110+ working directory around but may cause problems with
111+ symlinks. (possible values: ``true `` and ``false ``; default
112+ value: ``false ``)
109113
110114*local_hash_check *
111115 Perform the hash check on the job submission machine. This option minimizes
@@ -120,10 +124,10 @@ Execution
120124 done after a job finish is detected. (float in seconds; default value: 5)
121125
122126*remove_node_directories (EXPERIMENTAL) *
123- Removes directories whose outputs have already been used
124- up. Doesn't work with IdentiInterface or any node that patches
125- data through (without copying) (possible values: ``true `` and
126- ``false ``; default value: ``false ``)
127+ Removes directories whose outputs have already been used
128+ up. Doesn't work with IdentiInterface or any node that patches
129+ data through (without copying) (possible values: ``true `` and
130+ ``false ``; default value: ``false ``)
127131
128132*stop_on_unknown_version *
129133 If this is set to True, an underlying interface will raise an error, when no
@@ -151,18 +155,27 @@ Execution
151155 crashfiles allow portability across machines and shorter load time.
152156 (possible values: ``pklz `` and ``txt ``; default value: ``pklz ``)
153157
158+ *resource_monitor *
159+ Enables monitoring the resources occupation (possible values: ``true `` and
160+ ``false ``; default value: ``false ``)
161+
162+ *resource_monitor_frequency *
163+ Sampling period (in seconds) between measurements of resources (memory, cpus)
164+ being used by an interface. Requires ``resource_monitor `` to be ``true ``.
165+ (default value: ``1 ``)
166+
154167Example
155168~~~~~~~
156169
157170::
158171
159- [logging]
160- workflow_level = DEBUG
172+ [logging]
173+ workflow_level = DEBUG
161174
162- [execution]
163- stop_on_first_crash = true
164- hash_method = timestamp
165- display_variable = :1
175+ [execution]
176+ stop_on_first_crash = true
177+ hash_method = timestamp
178+ display_variable = :1
166179
167180Workflow.config property has a form of a nested dictionary reflecting the
168181structure of the .cfg file.
0 commit comments