From 08b5aee8764269bf92c41b0fd67f42683196b41e Mon Sep 17 00:00:00 2001 From: Fabrice Brito Date: Mon, 23 Oct 2023 13:35:02 +0200 Subject: [PATCH] deletes old file --- .../cwl-wrapper/templates/stage-in.yaml_ | 52 ------------------- 1 file changed, 52 deletions(-) delete mode 100644 containers/cwl-wrapper/templates/stage-in.yaml_ diff --git a/containers/cwl-wrapper/templates/stage-in.yaml_ b/containers/cwl-wrapper/templates/stage-in.yaml_ deleted file mode 100644 index 9be8f4b..0000000 --- a/containers/cwl-wrapper/templates/stage-in.yaml_ +++ /dev/null @@ -1,52 +0,0 @@ -cwlVersion: v1.0 -doc: "Run Stars for staging input data" -class: CommandLineTool -hints: - DockerRequirement: - dockerPull: ghcr.io/terradue/stars:2.14.5 - "cwltool:Secrets": - secrets: [] - -id: stars -requirements: - EnvVarRequirement: - envDef: - PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin - ResourceRequirement: {} - InlineJavascriptRequirement: {} - InitialWorkDirRequirement: - listing: - - entryname: stagein.sh - entry: |- - #!/bin/bash - set -x - res=0 - input='$( inputs.input )' - usersettings='$( inputs.usersettings.path )' - - [ "\${input}" != "null" ] && { - - IFS='#' read -r -a reference <<< '$( inputs.input )' - input_len=\${#reference[@]} - - [[ \${input_len} == 2 ]] && { - IFS=',' read -r -a assets <<< \${reference[1]} - af=" " - for asset in \${assets[@]} - do - af="\${af} -af \${asset}" - done - } || { - af="--empty" - } - Stars copy -conf \${usersettings} -v -rel -r '4' \${af} -o ./ \${reference[0]} - res=$? - } - rm -fr stagein.sh - exit 0 - -baseCommand: ['/bin/bash', 'stagein.sh'] - -inputs: {} - -outputs: {} \ No newline at end of file