File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ metadata:
9
9
workflows.diamond.ac.uk/parameter-schema : |
10
10
{{- .Files.Get "schema/dpcSchema.json" | nindent 6 }}
11
11
workflows.diamond.ac.uk/ui-schema : |
12
- {{- .Files.Get "schema/dpcUiSchema .json" | nindent 6 }}
12
+ {{- .Files.Get "schema/dpcUISchema .json" | nindent 6 }}
13
13
spec :
14
14
entrypoint : dpc
15
15
arguments :
19
19
configMapKeyRef :
20
20
name : sessionspaces
21
21
key : data_directory
22
+ - name : outputFolder
23
+ value : /tmp/output
24
+ - name : singleFirst
25
+ value : 395329
22
26
volumeClaimTemplates :
23
27
- metadata :
24
28
name : tmp
44
48
inputs :
45
49
parameters :
46
50
- name : outputFolder
47
- value : /tmp/output
51
+ value : " {{`{{ workflow.parameters.outputFolder }}`}} "
48
52
- name : singleFirst
49
- value : 280793
53
+ value : " {{`{{ workflow.parameters.singleFirst }}`}} "
50
54
script :
51
55
image : gitlab.diamond.ac.uk:5050/i14/i14_utility/dpc:v0.1
52
56
env :
@@ -55,13 +59,13 @@ spec:
55
59
command : [bash]
56
60
source : |
57
61
python -m papermill /tmp/notebook.ipynb /tmp/notebook-parametrized.ipynb \
58
- -p inpath ' {{`{{workflow.parameters.visitdir}}`}}' /scan/i14-' {{`{{inputs.parameters.singleFirst}}`}}' .nxs \
62
+ -p inpath " {{`{{ workflow.parameters.visitdir }}`}}/scan/i14-{{`{{ inputs.parameters.singleFirst }}`}}.nxs" \
59
63
-p process_configfile /tmp/config.yaml \
60
- -p outpath ' {{`{{inputs.parameters.outputFolder}}`}}'
64
+ -p outpath " {{`{{ inputs.parameters.outputFolder }}`}}"
61
65
python -m jupyter nbconvert --execute --allow-errors --to html --output dpc --output-dir /tmp /tmp/notebook-parametrized.ipynb
62
66
volumeMounts :
63
67
- name : session
64
- mountPath : " {{`{{workflow.parameters.visitdir}}`}}"
68
+ mountPath : " {{`{{ workflow.parameters.visitdir }}`}}"
65
69
- name : tmp
66
70
mountPath : /tmp
67
71
outputs :
83
87
volumes :
84
88
- name : session
85
89
hostPath :
86
- path : " {{`{{workflow.parameters.visitdir}}`}}"
90
+ path : " {{`{{ workflow.parameters.visitdir }}`}}"
87
91
type : Directory
88
92
- name : dpc
89
93
dag :
You can’t perform that action at this time.
0 commit comments