Skip to content

Commit

Permalink
Remove unused parameters in get_export_dataset_extra_files_dir_name
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Apr 25, 2024
1 parent b20f4a0 commit 6748d0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/model/store/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 6748d0e

Please sign in to comment.