Skip to content

Commit

Permalink
NEUT-10: fix for non-S barcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Swarchal committed Nov 10, 2023
1 parent e571911 commit 30753b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plaque_assay/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@ def get_variant_from_plate_list(
# swap T for S at beginning i.e "T01" -> "S01"
# so they match those in NE_available_strains
prefixes = [i.replace("T", "S") for i in prefixes]
else:
prefixes = ["S" + prefix[1:] for prefix in prefixes]
prefix_1, prefix_2 = sorted(prefixes)
# query table to return variant name (mutant_strain) for entry matching
# both the plate barcode prefixes
Expand Down

0 comments on commit 30753b1

Please sign in to comment.