5.6. Configuring Pipeline Behaviour¶
It is also possible to configure some internal pipeline behaviour via ConfigManager.
It can be done either via the command-line interface (CLI) or the application programming
interface (API).
To use via the CLI, one would do:
<CONFIG-KEY>=<CONFIG-VAL> junifer run ...
and via the API like so:
from junifer.utils import config
# Add config
config.set(key="<config-key>", val=<config-val>)
# do feature extraction
...
# Remove config
config.delete("<config-key>")
5.6.1. Available Configurations¶
CLI Key |
API Key |
Value |
Description |
|---|---|---|---|
|
|
str |
Alternative location for |
|
|
bool |
Skip DataLad-based DataGrabber’s ID check |
|
|
bool |
Skip Git “dirty” check for a DataLad dataset clone of a DataGrabber |
|
|
str |
Dump location of pre-processed data for debugging purposes |
|
|
“full” or “final” |
Dump all pre-processing steps or just the final pre-processed data |
|
|
int |
Number of volumes of 4D data to warp at once with
SpaceWarper (default 100). The memory used by ANTs and FSLgrows with the number of volumes, so smaller chunks use less memory
|
|
|
int |
Number of volumes of 4D data to read at once to extract the signals
of spheres (e.g.,
SphereAggregation) (default 100). Onlythe signals of the voxels of the spheres are kept, so the whole data
is never in memory, and smaller chunks use less memory
|