Skip to content

Commit

Permalink
Bugfix: use annotate_results_collection to update metadata
Browse files Browse the repository at this point in the history
The metadata update code path for ONT directly calls a lower level
function which doesn't handle multiplexing, whereas is should call
annotate_results_collection, which does.
  • Loading branch information
kjsanger committed Sep 8, 2023
1 parent c489da6 commit f15873c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/npg_irods/ont.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,8 @@ def ensure_secondary_metadata_updated(
)

component = Component(expt, slot, tag_id)
flowcells = find_flowcells_by_component(mlwh_session, component)

return _do_secondary_metadata_and_perms_update(item, flowcells)
return annotate_results_collection(item, component, mlwh_session=mlwh_session)


def find_recent_expt(sess: Session, since: datetime) -> list[str]:
Expand Down

0 comments on commit f15873c

Please sign in to comment.