From 4b4a73265ff14071597fb000ea1d9bb7e67db28a Mon Sep 17 00:00:00 2001 From: David Hadley Date: Wed, 13 May 2026 08:59:15 +0100 Subject: [PATCH] fix: workflow linter errors --- e02/templates/mib2x-auto.yaml | 1 + e02/templates/mib2x.yaml | 1 + e02/templates/ptyrex_basic.yaml | 1 + httomo/templates/cor-sweep.yaml | 2 ++ httomo/templates/extract-raw-projections.yaml | 2 ++ httomo/templates/httomo-gpu-template-test.yaml | 2 ++ i14/templates/align-template.yaml | 4 ++++ i14/templates/mask-template.yaml | 3 +++ i14/templates/phase-template.yaml | 3 +++ i14/templates/tomo-job.yaml | 4 ++++ nxstacker/templates/nxstacker-template.yaml | 3 +++ ptypy/templates/ptypy-cpu-moonflower-test.yaml | 4 ++++ ptypy/templates/ptypy-cpu-workflow-template.yaml | 3 +++ ptypy/templates/ptypy-gpu-moonflower-test.yaml | 4 ++++ ptypy/templates/ptypy-gpu-workflow-template.yaml | 4 ++++ 15 files changed, 41 insertions(+) diff --git a/e02/templates/mib2x-auto.yaml b/e02/templates/mib2x-auto.yaml index 806ce0a..0af7a80 100644 --- a/e02/templates/mib2x-auto.yaml +++ b/e02/templates/mib2x-auto.yaml @@ -8,6 +8,7 @@ metadata: workflows.argoproj.io/title: ePSIC mib automatic conversion workflows.argoproj.io/description: | Convert MIB file to hdf5/hspy files + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" workflows.diamond.ac.uk/parameter-schema: | {{- .Files.Get "schema/mib2x_auto_Schema.json" | nindent 6 }} workflows.diamond.ac.uk/ui-schema: | diff --git a/e02/templates/mib2x.yaml b/e02/templates/mib2x.yaml index 479f37a..de14d6a 100644 --- a/e02/templates/mib2x.yaml +++ b/e02/templates/mib2x.yaml @@ -8,6 +8,7 @@ metadata: workflows.argoproj.io/title: ePSIC mib conversion workflows.argoproj.io/description: | Convert MIB file to hdf5/hspy files + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" workflows.diamond.ac.uk/parameter-schema.mib_path: | { "type": "string" diff --git a/e02/templates/ptyrex_basic.yaml b/e02/templates/ptyrex_basic.yaml index aabf085..4ebb961 100644 --- a/e02/templates/ptyrex_basic.yaml +++ b/e02/templates/ptyrex_basic.yaml @@ -8,6 +8,7 @@ metadata: workflows.argoproj.io/title: Simple Ptyrex job submission workflows.argoproj.io/description: | Submit a Ptyrex job for a particular scan and projection within a given visit + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" workflows.diamond.ac.uk/parameter-schema: | {{- .Files.Get "schema/ptyrex_Schema.json" | nindent 6}} workflows.diamond.ac.uk/ui-schema: | diff --git a/httomo/templates/cor-sweep.yaml b/httomo/templates/cor-sweep.yaml index 990c885..675996c 100644 --- a/httomo/templates/cor-sweep.yaml +++ b/httomo/templates/cor-sweep.yaml @@ -2,6 +2,8 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: httomo-cor-sweep + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" annotations: workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" workflows.diamond.ac.uk/parameter-schema.input: | diff --git a/httomo/templates/extract-raw-projections.yaml b/httomo/templates/extract-raw-projections.yaml index ebb1de0..6770c8f 100644 --- a/httomo/templates/extract-raw-projections.yaml +++ b/httomo/templates/extract-raw-projections.yaml @@ -2,6 +2,8 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: extract-raw-projections + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" annotations: workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" spec: diff --git a/httomo/templates/httomo-gpu-template-test.yaml b/httomo/templates/httomo-gpu-template-test.yaml index a8be1c9..ae8b649 100644 --- a/httomo/templates/httomo-gpu-template-test.yaml +++ b/httomo/templates/httomo-gpu-template-test.yaml @@ -2,6 +2,8 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: httomo-gpu-job + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" annotations: workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" spec: diff --git a/i14/templates/align-template.yaml b/i14/templates/align-template.yaml index bb0f233..c7dcfe3 100644 --- a/i14/templates/align-template.yaml +++ b/i14/templates/align-template.yaml @@ -2,10 +2,14 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: align + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" + annotations: workflows.argoproj.io/title: Align data workflows.argoproj.io/description: | A utility which takes in a file path, a mask, aligns data according to vertical mass or phase correlation between images, and saves the results. + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" workflows.diamond.ac.uk/parameter-schema: | {{- .Files.Get "schema/alignSchema.json" | nindent 6 }} workflows.diamond.ac.uk/ui-schema: | diff --git a/i14/templates/mask-template.yaml b/i14/templates/mask-template.yaml index 8a56429..962685a 100644 --- a/i14/templates/mask-template.yaml +++ b/i14/templates/mask-template.yaml @@ -2,10 +2,13 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: mask + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" annotations: workflows.argoproj.io/title: Generate a Mask workflows.argoproj.io/description: | A utility which takes in a file, such as one with complex or phase information, creates a mask, and saves the results. + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" workflows.diamond.ac.uk/parameter-schema: | {{- .Files.Get "schema/maskSchema.json" | nindent 6 }} workflows.diamond.ac.uk/ui-schema: | diff --git a/i14/templates/phase-template.yaml b/i14/templates/phase-template.yaml index dcdca73..46b0ad2 100644 --- a/i14/templates/phase-template.yaml +++ b/i14/templates/phase-template.yaml @@ -2,10 +2,13 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: phase + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" annotations: workflows.argoproj.io/title: Create phase data workflows.argoproj.io/description: | A utility which takes in a complex file, a mask, creates the phase data, and saves the results. + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" workflows.diamond.ac.uk/parameter-schema: | {{- .Files.Get "schema/phaseSchema.json" | nindent 6 }} workflows.diamond.ac.uk/ui-schema: | diff --git a/i14/templates/tomo-job.yaml b/i14/templates/tomo-job.yaml index fffee59..fd93368 100644 --- a/i14/templates/tomo-job.yaml +++ b/i14/templates/tomo-job.yaml @@ -2,6 +2,10 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: ptycho-tomo-job + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" + annotations: + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" spec: entrypoint: ptycho-tomo-run templates: diff --git a/nxstacker/templates/nxstacker-template.yaml b/nxstacker/templates/nxstacker-template.yaml index ab05f4f..14fb331 100644 --- a/nxstacker/templates/nxstacker-template.yaml +++ b/nxstacker/templates/nxstacker-template.yaml @@ -2,10 +2,13 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: nxstacker + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" annotations: workflows.argoproj.io/title: nxstacker workflows.argoproj.io/description: | nxstacker is an utility to stack projections from different types of experiments to produce NeXus-compliance file(s). + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/nxstacker" workflows.diamond.ac.uk/parameter-schema: | {{- .Files.Get "schema/nxstackerSchema.json" | nindent 6 }} workflows.diamond.ac.uk/ui-schema: | diff --git a/ptypy/templates/ptypy-cpu-moonflower-test.yaml b/ptypy/templates/ptypy-cpu-moonflower-test.yaml index b780ad7..d0a6ff4 100644 --- a/ptypy/templates/ptypy-cpu-moonflower-test.yaml +++ b/ptypy/templates/ptypy-cpu-moonflower-test.yaml @@ -2,6 +2,10 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: ptypy-cpu-moonflower-benchmark + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" + annotations: + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" spec: entrypoint: ptypy-run volumeClaimTemplates: diff --git a/ptypy/templates/ptypy-cpu-workflow-template.yaml b/ptypy/templates/ptypy-cpu-workflow-template.yaml index 6f3ea2f..9f2defa 100644 --- a/ptypy/templates/ptypy-cpu-workflow-template.yaml +++ b/ptypy/templates/ptypy-cpu-workflow-template.yaml @@ -2,10 +2,13 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: ptypy-cpu-job + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" annotations: workflows.argoproj.io/title: PtyPy CPU Job Submitter workflows.argoproj.io/description: | Runs a PtyPy reconstruction job inside a container. + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" workflows.diamond.ac.uk/parameter-schema.config: | {{- .Files.Get "schema/ptypy_moonflower.json" | nindent 6 }} workflows.diamond.ac.uk/parameter-schema.id: | diff --git a/ptypy/templates/ptypy-gpu-moonflower-test.yaml b/ptypy/templates/ptypy-gpu-moonflower-test.yaml index 8592c9b..9862391 100644 --- a/ptypy/templates/ptypy-gpu-moonflower-test.yaml +++ b/ptypy/templates/ptypy-gpu-moonflower-test.yaml @@ -2,6 +2,10 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: ptypy-gpu-moonflower-benchmark + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" + annotations: + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" spec: entrypoint: ptypy-run volumeClaimTemplates: diff --git a/ptypy/templates/ptypy-gpu-workflow-template.yaml b/ptypy/templates/ptypy-gpu-workflow-template.yaml index 3f074d5..629fc73 100644 --- a/ptypy/templates/ptypy-gpu-workflow-template.yaml +++ b/ptypy/templates/ptypy-gpu-workflow-template.yaml @@ -2,6 +2,10 @@ apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: ptypy-gpu-job + labels: + workflows.diamond.ac.uk/science-group-imaging: "true" + annotations: + workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows" spec: entrypoint: ptypy-run volumeClaimTemplates: