Skip to content

Commit

Permalink
Fix typo-ish bug with persisting collection element extra files
Browse files Browse the repository at this point in the history
I suppose we have no way to express in tools that we are discovering
collection elements with extra files, and that's why that hasn't caused
any problems ? Caught by πŸ¦…πŸ‘€!
  • Loading branch information
mvdbeek committed Nov 1, 2023
1 parent 3776f9c commit 3f3e451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/model/store/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def update_object_store_with_datasets(self, datasets, paths, extra_files, output

self.object_store.update_from_file(dataset.dataset, file_name=path, create=True)
if extra_file:
persist_extra_files(self.object_store, extra_files, dataset)
persist_extra_files(self.object_store, extra_file, dataset)
dataset.set_size()
else:
dataset.set_size(no_extra_files=True)
Expand Down

0 comments on commit 3f3e451

Please sign in to comment.