-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathspec.yml
49 lines (46 loc) · 1.88 KB
/
spec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# the build part will be used to create an image with `nfm build`
# required_env is the required entry and it specifies the environment needed to run the analyses,
# required_env will be also used as an additional environment during testing with `nfm test`
# entrypoint - an optional entrypoint for the container (niflow-{ORGANIZATION}-{WORKFLOW} is the default value)
build:
# example below, see full Neurodocker spcification: https://github.com/ReproNim/neurodocker#supported-software
required_env:
base:
image: debian:stretch
pkg-manager: apt
miniconda:
conda_install: [python=3.7, nipype]
# fsl:
# version: 5.0.10
# afni:
# version: latest
#
# optional entrypoint, for python, the default value is
# entrypoint: /opt/miniconda-latest/envs/testkraken/bin/niflow-{ORGANIZATION}-{WORKFLOW}
# test specification
test:
# default location for data in the niflows is test/data in the workflow path
data:
type: workflow_path
location: test/data
# default location for scripts in the niflows is test/scripts in the workflow path
scripts: test/scripts
# additional (to the one defined in the build.required_env) environments for testing
# a simple example that has only one base image and one miniconda environment
env:
base:
- image: debian:stretch
pkg-manager: apt
miniconda:
- conda_install: [python=3.5, nipype]
# specification for the analysis that will be run and the needed input (input files expected to be in the data dir),
# if script is provided, it should be in the scripts directory
analysis:
inputs: []
command: niflow-{ORGANIZATION}-{WORKFLOW}
# # specification for the output testing: script should be either in the scripts dir or from TestKraken
# # file should be an output name and the reference one should be in the data dir
tests: []
# - file: out_name
# name: regr1
# script: test_obj_eq.py