Change collection create request
[arvados.git] / crunch_scripts / split-fastq.py
index b51a33493ea806fd1413ed9e77faaefe3a7f53e1..065c3960699d63ba350632c38b530f7b4c9fc334 100755 (executable)
@@ -22,9 +22,10 @@ def put_manifest(manifest_text, sources=[]):
     uuid = "{}+{}".format(m.hexdigest(), len(combined))
 
     collection = arvados.api().collections().create(
-        body={
+        body={'collection':{
             'uuid': uuid,
-            'manifest_text': crm.manifest_text(),
+            'manifest_text': crm.manifest_text()
+        }
         }).execute()
 
     for s in sources: