Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahvgls committed Dec 18, 2024
1 parent 1a0fa27 commit 0b69258
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion protzilla/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_available_runinfo() -> tuple[list[dict[str, str | list[str]]], list[dict
for step in steps:
step_names.append(step.display_name)

tags = []
tags = set()
metadata_yaml_path = os.path.join(directory_path, "metadata.yaml")
if os.path.isfile(metadata_yaml_path):
yaml_operator = YamlOperator()
Expand Down
8 changes: 0 additions & 8 deletions ui/runs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,14 +380,6 @@ def delete_(request: HttpRequest):

try:
delete_run_folder(run_name)
display_message(
{
"level": 40,
"msg": f"Couldn't delete the run '{run_name}' . Please check the permissions for this file or try running Protzilla as administrator.",
"trace": "",
},
request,
)
except Exception as e:
display_message(
{
Expand Down

0 comments on commit 0b69258

Please sign in to comment.