Skip to content

Commit

Permalink
Do not set peek for directories
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Oct 10, 2024
1 parent b68b604 commit aa91fbd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/galaxy/datatypes/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,6 @@ class Directory(Data):

def set_peek(self, dataset: DatasetProtocol, **kwd) -> None:
if not dataset.dataset.purged:
dataset.peek = f"{dataset.extra_files_path}"
dataset.blurb = nice_size(dataset.dataset.total_size)
else:
dataset.peek = "file does not exist"
Expand Down

0 comments on commit aa91fbd

Please sign in to comment.