From 2b990c0939f6e8541e273e8a601a44b4debf983e Mon Sep 17 00:00:00 2001
From: Lili Gasser <gasserli@ethz.ch>
Date: Thu, 7 Feb 2019 10:38:52 +0000
Subject: [PATCH] renku run --isolation python
 src/python/run_extract_discussions.py
 data/politicians/lastnames/1891_MPs.pickle
 data/AB/1891/04_correctedxml.tar.gz data/AB/1891/03_correctedmeta.tar.gz
 data/lists/not_names.txt data/lists/dict_overlaps.pickle
 data/AB/1891/05_annotatedxml.tar.gz

---
 .gitattributes                                |  3 +-
 ...c208f893ded47448495e57ef6da4aaf_python.cwl | 91 +++++++++++++++++++
 data/AB/1891/05_annotatedxml.tar.gz           |  3 +
 3 files changed, 96 insertions(+), 1 deletion(-)
 create mode 100644 .renku/workflow/8c208f893ded47448495e57ef6da4aaf_python.cwl
 create mode 100644 data/AB/1891/05_annotatedxml.tar.gz

diff --git a/.gitattributes b/.gitattributes
index bcb7c4d4..f914b75a 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -257,4 +257,5 @@ data/lists/dict_overlaps.pickle filter=lfs diff=lfs merge=lfs -text
 data/lists/all_titles.csv filter=lfs diff=lfs merge=lfs -text
 data/AB/1978/02_extractedxml.tar.gz filter=lfs diff=lfs merge=lfs -text
 data/AB/1979/02_extractedxml.tar.gz filter=lfs diff=lfs merge=lfs -text
-data/AB/1975/04_correctedxml.tar.gz filter=lfs diff=lfs merge=lfs -text
\ No newline at end of file
+data/AB/1975/04_correctedxml.tar.gz filter=lfs diff=lfs merge=lfs -text
+data/AB/1891/05_annotatedxml.tar.gz filter=lfs diff=lfs merge=lfs -text
diff --git a/.renku/workflow/8c208f893ded47448495e57ef6da4aaf_python.cwl b/.renku/workflow/8c208f893ded47448495e57ef6da4aaf_python.cwl
new file mode 100644
index 00000000..f9451205
--- /dev/null
+++ b/.renku/workflow/8c208f893ded47448495e57ef6da4aaf_python.cwl
@@ -0,0 +1,91 @@
+arguments: []
+baseCommand:
+- python
+class: CommandLineTool
+cwlVersion: v1.0
+hints: []
+inputs:
+  input_1:
+    default:
+      class: File
+      path: ../../src/python/run_extract_discussions.py
+    inputBinding:
+      position: 1
+      separate: true
+      shellQuote: true
+    streamable: false
+    type: File
+  input_2:
+    default:
+      class: File
+      path: ../../data/politicians/lastnames/1891_MPs.pickle
+    inputBinding:
+      position: 2
+      separate: true
+      shellQuote: true
+    streamable: false
+    type: File
+  input_3:
+    default:
+      class: File
+      path: ../../data/AB/1891/04_correctedxml.tar.gz
+    inputBinding:
+      position: 3
+      separate: true
+      shellQuote: true
+    streamable: false
+    type: File
+  input_4:
+    default:
+      class: File
+      path: ../../data/AB/1891/03_correctedmeta.tar.gz
+    inputBinding:
+      position: 4
+      separate: true
+      shellQuote: true
+    streamable: false
+    type: File
+  input_5:
+    default:
+      class: File
+      path: ../../data/lists/not_names.txt
+    inputBinding:
+      position: 5
+      separate: true
+      shellQuote: true
+    streamable: false
+    type: File
+  input_6:
+    default:
+      class: File
+      path: ../../data/lists/dict_overlaps.pickle
+    inputBinding:
+      position: 6
+      separate: true
+      shellQuote: true
+    streamable: false
+    type: File
+  input_7:
+    default: data/AB/1891/05_annotatedxml.tar.gz
+    inputBinding:
+      position: 7
+      separate: true
+      shellQuote: true
+    streamable: false
+    type: string
+outputs:
+  output_0:
+    outputBinding:
+      glob: $(inputs.input_7)
+    streamable: false
+    type: File
+permanentFailCodes: []
+requirements:
+- class: InlineJavascriptRequirement
+- class: InitialWorkDirRequirement
+  listing:
+  - entry: '$({"listing": [], "class": "Directory"})'
+    entryname: data/AB/1891
+    writable: true
+successCodes: []
+temporaryFailCodes: []
diff --git a/data/AB/1891/05_annotatedxml.tar.gz b/data/AB/1891/05_annotatedxml.tar.gz
new file mode 100644
index 00000000..7cdc4bd6
--- /dev/null
+++ b/data/AB/1891/05_annotatedxml.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:306f4862fce3d7d597f8ee60424137dafbb80d365ba26153c7f019633b27e473
+size 2519874
-- 
GitLab