Skip to content

Commit

Permalink
fix parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl-Svard committed Oct 1, 2024
1 parent 61875d9 commit e3860fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cg_lims/get/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def get_index_well(artifact: Artifact):
reagent_label = artifact.reagent_labels[0]

# Getting the index well:
index_well_with_zero = reagent_label.split(" ")[0]
index_well_with_zero_and_us = reagent_label.split(" ")[0]
index_well_with_zero = index_well_with_zero_and_us.split("_")[1]

# Picking out column and removing zeros by int():
index_well_col = int(index_well_with_zero[1:])
Expand Down

0 comments on commit e3860fb

Please sign in to comment.