Skip to content

Commit e6e3140

Browse files
authored
still eval even if optional + null (#763)
1 parent 3cefe49 commit e6e3140

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cwltool/builder.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,6 @@ def do_eval(self, ex, context=None, pull_image=True, recursive=False, strip_whit
324324
return {k: self.do_eval(v, context, pull_image, recursive) for k, v in iteritems(ex)}
325325
if isinstance(ex, list):
326326
return [self.do_eval(v, context, pull_image, recursive) for v in ex]
327-
if context is None and type(ex) is str and "self" in ex:
328-
return None
329327
return expression.do_eval(ex, self.job, self.requirements,
330328
self.outdir, self.tmpdir,
331329
self.resources,

0 commit comments

Comments
 (0)