Skip to content

Commit

Permalink
Access populated_optimized on DatasetCollection, not instance.
Browse files Browse the repository at this point in the history
Co-authored-by: Marius van den Beek <[email protected]>
  • Loading branch information
jdavcs and mvdbeek committed May 10, 2024
1 parent 48771a9 commit 0045692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/managers/hdcas.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def stream_dataset_collection(dataset_collection_instance, upstream_mod_zip=Fals


def write_dataset_collection(dataset_collection_instance, archive):
if not dataset_collection_instance.populated_optimized():
if not dataset_collection_instance.collection.populated_optimized():
raise RequestParameterInvalidException("Attempt to write dataset collection that has not been populated yet")
names, hdas = get_hda_and_element_identifiers(dataset_collection_instance)
for name, hda in zip(names, hdas):
Expand Down

0 comments on commit 0045692

Please sign in to comment.