Skip to content

Commit 406d4ba

Browse files
committed
simplification from @tetron
1 parent 9530108 commit 406d4ba

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cwltool/draft2tool.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,7 @@ def job(self, joborder, input_basedir, output_callback, **kwargs):
169169
builder.pathmapper = None
170170

171171
if self.tool.get("stdin"):
172-
temp = builder.do_eval(self.tool["stdin"])
173-
if isinstance(temp, dict) and "ref" in temp:
174-
j.stdin = builder.job[temp["ref"][1:]]["path"]
175-
else:
176-
j.stdin = temp
172+
j.stdin = builder.do_eval(self.tool["stdin"])
177173
reffiles.add(j.stdin)
178174

179175
if self.tool.get("stdout"):

0 commit comments

Comments
 (0)