Skip to content

Commit 008f4d8

Browse files
committed
add missing file sizes
1 parent 274e437 commit 008f4d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cwltool/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,8 @@ def remove_at_id(doc): # type: (MutableMapping[Text, Any]) -> None
849849
if isinstance(entry, MutableMapping):
850850
remove_at_id(entry)
851851
remove_at_id(out)
852+
visit_class(out, ("File",), functools.partial(
853+
add_sizes, runtimeContext.make_fs_access('')))
852854

853855
def loc_to_path(obj): # type: (Dict[Text, Any]) -> None
854856
for field in ("path", "nameext", "nameroot", "dirname"):

0 commit comments

Comments
 (0)