Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
awicenec committed Feb 5, 2022
1 parent a49691a commit 490696c
Show file tree
Hide file tree
Showing 3 changed files with 531 additions and 612 deletions.
4 changes: 3 additions & 1 deletion daliuge-translator/dlg/dropmake/pg_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,9 @@ def _create_test_drop_spec(self, oid, rank, kwargs) -> dropdict:
"Missing execution_time for Construct '%s'" % self.text
)
# add more arguments
cmds = [self.jd["command"]]
cmds = []
if "command" in self.jd:
cmds = [self.jd["command"]]
self._update_key_value_attributes(kwargs) # get all the other params
kwargs["command"] = BashCommand(cmds) # NOTE: Not really required anymore?
kwargs["num_cpus"] = int(self.jd.get("num_cpus", 1))
Expand Down
Loading

0 comments on commit 490696c

Please sign in to comment.