Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
james-strauss-uwa committed Sep 23, 2020
1 parent 218b164 commit dfdc647
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions daliuge-translator/test/dropmake/test_pg_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,15 +205,13 @@ def test_cwl_translate(self):
cwl_out_zip = cwl_output_dir + '/workflow.zip'
output_list.append((cwl_out, cwl_out_zip))

#create_workflow(pgt, "", cwl_out, cwl_out_zip)
cwl_contents = create_workflow(pgt, 'workflow.cwl')

# write output
with open(cwl_out_zip, 'wb') as f:
f.write(cwl_contents)

for out, zip in output_list:
print("Testing. out:" + out + " zip:" + zip)
zip_ref = zipfile.ZipFile(zip)
zip_ref.extractall(os.path.dirname(zip))
zip_ref.close()
Expand Down

0 comments on commit dfdc647

Please sign in to comment.