Skip to content

Commit

Permalink
Recovers prepare_lgt call that was erased in the merge.
Browse files Browse the repository at this point in the history
Former-commit-id: 9075497
Former-commit-id: 282d021868da27bd950f0f06310401995bccbcad
  • Loading branch information
pritchardn committed May 13, 2022
1 parent d9dfb6f commit 4236fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daliuge-translator/dlg/dropmake/web/lg_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ def gen_pgt_post():

# Retrieve rmode value
rmode = reqform.get("rmode", str(REPRO_DEFAULT.value))

# Retrieve json data.
json_string = reqform.get("json_data")
try:
Expand All @@ -586,6 +585,7 @@ def gen_pgt_post():
validate(logical_graph, lg_schema)
except ValidationError as ve:
error = "Validation Error {1}: {0}".format(str(ve), lg_name)
logical_graph = prepare_lgt(logical_graph, rmode)
# LG -> PGT
pgt = unroll_and_partition_with_params(logical_graph, reqform)
par_algo = reqform.get("algo", "none")
Expand Down

0 comments on commit 4236fed

Please sign in to comment.