Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
calgray committed Aug 23, 2021
1 parent f91a832 commit 1c500c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 6 additions & 1 deletion daliuge-translator/dlg/dropmake/dm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,13 @@ def convert_construct(lgo):
for afd in node[app_fd_name]:
app_node[afd["name"]] = afd["value"]
break
if Categories.GATHER == node["category"]:

if node["category"] == Categories.GATHER:
app_node["group_start"] = 1

if node['category'] == Categories.SERVICE:
app_node['isService'] = True

new_nodes.append(app_node)

# step 2
Expand Down
7 changes: 1 addition & 6 deletions daliuge-translator/dlg/dropmake/pg_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,12 +721,7 @@ def _create_test_drop_spec(self, oid, rank, kwargs):
kwargs["command"] = command
kwargs["user"] = str(self.jd.get("user", ""))
kwargs["ensureUserAndSwitch"] = self.str_to_bool(str(self.jd.get("ensureUserAndSwitch", "0")))

rmc = str(self.jd.get("removeContainer", "1"))
logger.debug(f"rmc string: {rmc}")
kwargs["removeContainer"] = self.str_to_bool(rmc)
logger.debug(f"removeContainer: {kwargs['removeContainer']}")

kwargs["removeContainer"] = self.str_to_bool(str(self.jd.get("removeContainer", "1")))
kwargs["portMappings"] = str(self.jd.get("portMappings", ""))
kwargs["additionalBindings"] = str(self.jd.get("additionalBindings", ""))
drop_spec.update(kwargs)
Expand Down

0 comments on commit 1c500c9

Please sign in to comment.