Skip to content

Commit

Permalink
Fix premature flush in hda_manager.copy
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Apr 22, 2024
1 parent a56f642 commit badbd3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/managers/hdas.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def copy(
if not isinstance(item, model.HistoryDatasetAssociation):
raise TypeError()
hda = item
copy = hda.copy(parent_id=kwargs.get("parent_id"), copy_hid=False, copy_tags=hda.tags, flush=flush)
copy = hda.copy(parent_id=kwargs.get("parent_id"), copy_hid=False, copy_tags=hda.tags, flush=False)
if hide_copy:
copy.visible = False
if history:
Expand Down

0 comments on commit badbd3a

Please sign in to comment.