Skip to content

Commit 8eb5c67

Browse files
committed
fix json serialisation
1 parent 9d490f1 commit 8eb5c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/provenance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ def create_job(self,
15061506
rel_path = posixpath.join(_posix_path(WORKFLOW), "primary-output.json")
15071507
else:
15081508
rel_path = posixpath.join(_posix_path(WORKFLOW), "primary-job.json")
1509-
j = json.dumps(copied, indent=4, ensure_ascii=False)
1509+
j = json.dumps(dict(copied), indent=4, ensure_ascii=False)
15101510
with self.write_bag_file(rel_path) as file_path:
15111511
file_path.write(j + u"\n")
15121512
_logger.debug(u"[provenance] Generated customised job file: %s",

0 commit comments

Comments
 (0)