mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-29 17:42:12 +08:00
Do not change existing behavior; raising error is correct
This commit is contained in:
@@ -301,9 +301,6 @@ def _get_tool_id_for_hda(app, hda_id):
|
||||
return tool_id
|
||||
|
||||
hda = session.get(HistoryDatasetAssociation, hda_id)
|
||||
if hda is None:
|
||||
return None
|
||||
|
||||
return _get_tool_id_for_hda(app, hda.copied_from_history_dataset_association_id)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user