Skip to content

Commit

Permalink
removed debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ayobi committed Aug 6, 2024
1 parent 783abec commit 224e5fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions microsetta_private_api/repo/admin_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ def _generate_novel_kit_names(self, number_of_kits, kit_prefix):
def _generate_novel_barcodes(self, number_of_kits, number_of_samples,
kit_names):
"""Generate specified number of random barcodes for input kit names"""
print("kit name", kit_names)

total_barcodes = number_of_kits * number_of_samples

with self._transaction.cursor() as cur:
Expand Down Expand Up @@ -913,7 +913,7 @@ def _insert_barcodes_to_existing_kit(self,
project_ids : list of int
Project ids that all barcodes are to be associated with
"""
print("Insert", kit_name_and_barcode_tuples_list)

# check for empty input
if kit_name_and_barcode_tuples_list \
is None or len(kit_name_and_barcode_tuples_list) == 0:
Expand All @@ -932,7 +932,7 @@ def _insert_barcodes_to_existing_kit(self,
# add new barcodes to barcode table
barcode_insertions = [(n, b, 'unassigned')
for n, b in kit_name_and_barcode_tuples_list]
print("Barcode insertions: ", barcode_insertions)

cur.executemany("INSERT INTO barcode (kit_id, barcode, status) "
"VALUES (%s, %s, %s)",
barcode_insertions)
Expand Down

0 comments on commit 224e5fe

Please sign in to comment.