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 May 2, 2024
1 parent ab868b3 commit 78bf048
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 @@ -1995,7 +1995,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 @@ -2976,7 +2976,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 78bf048

Please sign in to comment.