stten6 barcode selection

This commit is contained in:
gg 2024-12-02 11:16:15 +01:00
parent 567a4a4e95
commit 596829f656
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ screwdriver: absent
#digital_io: present
digital_io_flush_blow: present
second_leak_test: present
barcode_recipe_selection: present
external_flush_blow: present # EXTERNAL BOX CONTROLLING MULTI-CHANNEL TEST (IF PRESENT), BLOW-CLEANING AND EXTERNAL FLUSH
dual_channel: present
#fixture_id: present

View File

@ -75,7 +75,7 @@ class Barcode_Recipe_Selection(Test_Test):
else:
lines = data.splitlines()
#lines = data.split("-")
candidates = [i for i in lines if len(i)==10]
candidates = [i for i in lines if len(i) in(10,12)]
if len(candidates)>0:
# RECIPE CODE FOUND
self.recipe=candidates[-1]