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 Apr 2, 2024
1 parent e19753c commit 58a1c4c
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 @@ -359,8 +359,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 58a1c4c

Please sign in to comment.