Skip to content

Commit

Permalink
Fix directory unpacking
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek authored and nsoranzo committed Dec 5, 2024
1 parent 53c91ba commit 52ed797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/tools/data_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ def walk_extra_files(items, prefix=""):
assert path
datatype.groom_dataset_content(path)

if datatype.file_ext == "directory":
CompressedFile.extract(path, extra_files_path)
if ext == "directory" and not deferred and path:
CompressedFile(path).extract(extra_files_path)
staged_extra_files = extra_files_path

if len(transform) > 0:
Expand Down

0 comments on commit 52ed797

Please sign in to comment.