Skip to content

Commit

Permalink
Drop flush that could lead to HDA/HDCA without history
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed May 14, 2024
1 parent a7e73ae commit 392da47
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/galaxy/tools/parameters/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2728,7 +2728,6 @@ def raw_to_galaxy(app: "MinimalApp", history: "History", as_dict_value: Dict[str
app.model.session.add(primary_data)
history.stage_addition(primary_data)
history.add_pending_items()
app.model.session.flush()
return primary_data
else:
name = as_dict_value.get("name")
Expand Down Expand Up @@ -2759,7 +2758,6 @@ def write_elements_to_collection(has_elements, collection_builder):
collection_builder.populate()
history.stage_addition(hdca)
history.add_pending_items()
app.model.session.flush()
return hdca


Expand Down

0 comments on commit 392da47

Please sign in to comment.