We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da4930f commit bcfa49fCopy full SHA for bcfa49f
cwltool/pack.py
@@ -157,4 +157,9 @@ def rewrite_id(r, mainuri):
157
158
import_embed(packed, set())
159
160
+ if len(packed["$graph"]) == 1:
161
+ # duplicate 'cwlVersion' inside $graph when there is a single item
162
+ # because we're printing contents inside '$graph' rather than whole dict
163
+ packed["$graph"][0]["cwlVersion"] = packed["cwlVersion"]
164
+
165
return packed
0 commit comments