stten6 barcode selection
This commit is contained in:
parent
567a4a4e95
commit
596829f656
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user