From 6ca371ca8bde1d68051d2ad5c9f76452f7c11573 Mon Sep 17 00:00:00 2001 From: Luis Salamanca <luis.salamanca@sdsc.ethz.ch> Date: Fri, 7 Dec 2018 17:18:51 +0000 Subject: [PATCH] renku run python src/python/run_correctxml.py data/AB//1911/02_extractedxml.tar.gz data/AB//1911/04_correctedxml.tar.gz --- ...15a3d7989fc44bab66bc86c87ddb74e_python.cwl | 59 +++++++++++++++++++ data/AB/1911/04_correctedxml.tar.gz | 4 +- notebooks/RunningClasses.ipynb | 2 +- 3 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 .renku/workflow/615a3d7989fc44bab66bc86c87ddb74e_python.cwl diff --git a/.renku/workflow/615a3d7989fc44bab66bc86c87ddb74e_python.cwl b/.renku/workflow/615a3d7989fc44bab66bc86c87ddb74e_python.cwl new file mode 100644 index 00000000..e688f904 --- /dev/null +++ b/.renku/workflow/615a3d7989fc44bab66bc86c87ddb74e_python.cwl @@ -0,0 +1,59 @@ +arguments: [] +baseCommand: +- python +class: CommandLineTool +cwlVersion: v1.0 +hints: [] +inputs: + input_1: + default: + class: File + path: ../../src/python/run_correctxml.py + inputBinding: + position: 1 + separate: true + shellQuote: true + streamable: false + type: File + input_2: + default: + class: File + path: ../../data/AB/1911/02_extractedxml.tar.gz + inputBinding: + position: 2 + separate: true + shellQuote: true + streamable: false + type: File + input_3: + default: data/AB/1911/04_correctedxml.tar.gz + inputBinding: + position: 3 + separate: true + shellQuote: true + streamable: false + type: string +outputs: + output_0: + outputBinding: + glob: $(inputs.input_3) + streamable: false + type: File + output_1: + outputBinding: + glob: notebooks/RunningClasses.ipynb + streamable: false + type: File +permanentFailCodes: [] +requirements: +- class: InlineJavascriptRequirement +- class: InitialWorkDirRequirement + listing: + - entry: '$({"listing": [], "class": "Directory"})' + entryname: notebooks + writable: true + - entry: '$({"listing": [], "class": "Directory"})' + entryname: data/AB/1911 + writable: true +successCodes: [] +temporaryFailCodes: [] diff --git a/data/AB/1911/04_correctedxml.tar.gz b/data/AB/1911/04_correctedxml.tar.gz index 3eaaa2c9..3df7cae6 100644 --- a/data/AB/1911/04_correctedxml.tar.gz +++ b/data/AB/1911/04_correctedxml.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ca74aebdf9ecb7f99ee6e57bf64ec455dceb2837059d922b5fa24413e0704156 -size 3467650 +oid sha256:db8b38882650f1a26237ff360a3110fc8d16d1d0785e8ece68677d445b65152e +size 3464769 diff --git a/notebooks/RunningClasses.ipynb b/notebooks/RunningClasses.ipynb index 63714898..6cafd23c 100755 --- a/notebooks/RunningClasses.ipynb +++ b/notebooks/RunningClasses.ipynb @@ -9,7 +9,7 @@ }, { "cell_type": "code", - "execution_count": 101, + "execution_count": 102, "metadata": {}, "outputs": [ { -- GitLab