Skip to content

Commit

Permalink
mf
Browse files Browse the repository at this point in the history
  • Loading branch information
mam10eks committed Jan 29, 2025
1 parent f7ab955 commit 3ae39b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-client/tira/rest_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ def upload_run_anonymous(self, file_path: Path, dataset_id: str):
error_msg = ""

if isinstance(upload_to_tira.get("format"), list):
accepted_formats.append(upload_to_tira.get("format"))
accepted_formats = upload_to_tira.get("format")
if len(accepted_formats) == 0:
accepted_formats = ["run.txt"] # default format

Expand Down

0 comments on commit 3ae39b9

Please sign in to comment.