From 6748d0e1f831249badddaea48e2cfa9c7d63dd55 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:24:56 +0200 Subject: [PATCH] Remove unused parameters in get_export_dataset_extra_files_dir_name --- lib/galaxy/model/store/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/model/store/__init__.py b/lib/galaxy/model/store/__init__.py index a0c187b3ffe2..1b78f52ebcc8 100644 --- a/lib/galaxy/model/store/__init__.py +++ b/lib/galaxy/model/store/__init__.py @@ -2006,7 +2006,7 @@ def add(src, dest): if len(file_list): extra_files_target_filename = get_export_dataset_extra_files_dir_name( - as_dict["name"], as_dict["extension"], as_dict["encoded_id"], conversion_key=conversion_key + as_dict["encoded_id"], conversion_key=conversion_key ) arcname = os.path.join(dir_name, extra_files_target_filename) add(extra_files_path, os.path.join(export_directory, arcname)) @@ -2982,7 +2982,7 @@ def get_export_dataset_filename(name: str, ext: str, encoded_id: str, conversion return f"{base}_{encoded_id}_conversion_{conversion_key}.{ext}" -def get_export_dataset_extra_files_dir_name(name: str, ext: str, encoded_id: str, conversion_key: Optional[str]) -> str: +def get_export_dataset_extra_files_dir_name(encoded_id: str, conversion_key: Optional[str]) -> str: if not conversion_key: return f"extra_files_path_{encoded_id}" else: