Skip to content

Commit

Permalink
fix self-assignment inn project_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Apr 17, 2023
1 parent aad781a commit ebfcede
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ def _replace_uuids(node: Union[str, list, dict]) -> Union[str, list, dict]:
project_copy["ui"]["slideshow"] = _replace_uuids(
project_copy["ui"].get("slideshow", {})
)
if "mode" in project_copy["ui"]:
project_copy["ui"]["mode"] = project_copy["ui"]["mode"]

if clean_output_data:
FIELDS_TO_DELETE = ("outputs", "progress", "runHash")
for node_data in project_copy.get("workbench", {}).values():
Expand Down

0 comments on commit ebfcede

Please sign in to comment.