Skip to content

Commit 0afcece

Browse files
committed
Correct relative path in annotations
1 parent 02591df commit 0afcece

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cwltool/provenance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,15 +1035,15 @@ def _ro_annotations(self):
10351035
# Where is the main workflow?
10361036
annotations.append({
10371037
"uri": uuid.uuid4().urn,
1038-
"about": posixpath.join(WORKFLOW, "packed.cwl"),
1038+
"about": posixpath.join("..", WORKFLOW, "packed.cwl"),
10391039
"oa:motivatedBy": {"@id": "oa:highlighting"}
10401040
})
10411041

10421042
annotations.append({
10431043
"uri": uuid.uuid4().urn,
10441044
"about": self.workflow_run_uri,
1045-
"content": [posixpath.join(WORKFLOW, "packed.cwl"),
1046-
posixpath.join(WORKFLOW, "primary-job.json")],
1045+
"content": [posixpath.join("..", WORKFLOW, "packed.cwl"),
1046+
posixpath.join("..", WORKFLOW, "primary-job.json")],
10471047
"oa:motivatedBy": {"@id": "oa:linking"}
10481048
})
10491049

0 commit comments

Comments
 (0)