Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions i14/templates/xrf-tomo-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
- name: normalise
value: true
- name: cor
value: "null"
value: "nil"
- name: reconsMethod
value: "FBP"
volumeClaimTemplates:
Expand Down Expand Up @@ -301,9 +301,9 @@ spec:
mkdir -p $OUTPUT/httomo_output

COR_ESTIMATE="{{`{{ inputs.parameters.initcor }}`}}"
[[ $COR_ESTIMATE != "null" ]] && sed -i 's/<INITCOR>/'"${COR_ESTIMATE}"'/' $OUTPUT/httomo.yaml
[[ $COR_ESTIMATE != "nil" ]] && sed -i 's/<INITCOR>/'"${COR_ESTIMATE}"'/' $OUTPUT/httomo.yaml
COR="{{`{{ workflow.parameters.cor }}`}}"
[[ $COR != "null" ]] && sed -i 's/${{`{{centering.side_outputs.centre_of_rotation}}`}}/'"${COR}"'/' $OUTPUT/httomo.yaml
[[ $COR != "nil" ]] && sed -i 's/${{`{{centering.side_outputs.centre_of_rotation}}`}}/'"${COR}"'/' $OUTPUT/httomo.yaml

cmd=(/opt/conda/bin/mpirun -n 1 /opt/conda/bin/python -m httomo run)
cmd+=("--output-folder-name=${ELEMENT}-${TRANSITION}")
Expand Down