Skip to content

Commit

Permalink
Suffix filename with uuid
Browse files Browse the repository at this point in the history
Don't love it but it'll do for now.
  • Loading branch information
mvdbeek committed Oct 6, 2023
1 parent 830f6d0 commit a4dead4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planemo/galaxy/activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def outputs_dict(self):

def download_output_to(self, ctx, dataset_details, output_directory, filename=None):
if filename is None:
local_filename = sanitize_filename(dataset_details.get("cwl_file_name") or dataset_details.get("name"))
local_filename = f'{sanitize_filename(dataset_details.get("cwl_file_name") or dataset_details.get("name"))}__{dataset_details["uuid"]}'
else:
local_filename = filename
destination = os.path.join(output_directory, local_filename)
Expand Down

0 comments on commit a4dead4

Please sign in to comment.