Skip to content

Commit

Permalink
Merge pull request #203 from mgcam/drop_unused_method
Browse files Browse the repository at this point in the history
Removed unused method
  • Loading branch information
nerdstrike authored Feb 28, 2024
2 parents 2f1b32f + 5daae74 commit 65bd045
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lang_qc/db/helper/wells.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,21 +310,6 @@ def _get_wells_for_status(

return wells

def _add_tracking_info(self, wells: List[PacBioWell]):

for well in wells:
# One query for all or query per well? The latter for now to avoid the need
# to match the records later. Should be fast enough for small-ish pages, we
# query on a unique key.
db_well = self.get_mlwh_well_by_product_id(product_id=well.product_id)
if db_well is None:
# No error if no matching mlwh record is found.
logging.warning(
f"No mlwh record for run '{well.run_name}' well '{well.label}'"
)
else:
well.copy_run_tracking_info(db_well)

def _upcoming_wells(self):
"""
Upcoming wells are recent wells, which do not belong to any other
Expand Down

0 comments on commit 65bd045

Please sign in to comment.