Skip to content

Commit

Permalink
code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AmandaBirmingham committed Aug 21, 2020
1 parent e860ea1 commit dc58867
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions microsetta_private_api/repo/admin_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ def __init__(self, transaction):
def _get_ids_relevant_to_barcode(self, sample_barcode):
with self._transaction.dict_cursor() as cur:
# First, look for this barcode in the set of barcodes
# associated with AGP kits; if it is there, get its kit id and
# follow the source id associated with that AGP barcode to its
# source and account ids.
# associated with AGP kits; if it is there, get its ag kit id
# (a uuid) and follow the source id associated with that AGP
# barcode to its source and account ids.
cur.execute(
"SELECT "
"ag_kit_barcodes.ag_kit_barcode_id as sample_id, "
Expand Down Expand Up @@ -57,7 +57,7 @@ def _get_ids_relevant_to_barcode(self, sample_barcode):
# in has been used to open an AGP account; in this case, we can get
# an account id and a kit id but NOT a source id.
# Even if there is no such account association, we can still get
# the (official, UUID) kit id if this is an AGP kit
# the ag kit id (uuid) if this is an AGP kit
cur.execute(
"SELECT ag_kit_barcodes.ag_kit_barcode_id as sample_id, "
"ag_kit_barcodes.ag_kit_id as kit_id, "
Expand Down

0 comments on commit dc58867

Please sign in to comment.