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
24 changes: 17 additions & 7 deletions e02/templates/Notebook.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: argoproj.io/v1alpha1
kind: ClusterWorkflowTemplate
metadata:
name: calibrate-ptycho
name: epsic-calibrate-ptycho
labels:
workflows.diamond.ac.uk/science-group-imaging: "true"
annotations:
workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows"
workflows.argoproj.io/title: Calibrate ptycho STEM data
workflows.argoproj.io/description: |
A utility which takes in a 4D STEM data set and outs the approximate real space pixel size, measured camera length and scan rotation, based off dpc
workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows"
workflows.diamond.ac.uk/parameter-schema: |
{{- .Files.Get "schema/notebook_Schema.json" | nindent 6 }}
workflows.diamond.ac.uk/ui-schema: |
Expand Down Expand Up @@ -99,11 +99,7 @@ spec:
outputs:
artifacts:
- name: phase-output
path: "{{`{{ inputs.parameters.outpath }}`}}/phase-output.html"
archive:
none: {}
- name: notebook-log
path: "{{`{{ inputs.parameters.outpath }}`}}/papermill.log"
path: "{{`{{workflow.parameters.visitdir}}`}}/Calibrate-notebook.html"
archive:
none: {}
podSpecPatch: |
Expand All @@ -116,5 +112,19 @@ spec:
limits:
cpu: 10
memory: 50Gi
tolerations:
- key: nodegroup
operator: Equal
value: workflows
effect: NoSchedule
volumes:
- name: session
hostPath:
path: "{{`{{ workflow.parameters.visitdir }}`}}"
type: Directory
- name: software
hostPath:
path: /dls_sw/e02/medipix_mask/
type: Directory