Hi,
I’m in a mentorship with a coworker in the automations team and they’ve been teaching me how to work with HSL. And I’m currently stumped at the most recent challenge they’ve posed to me. Please bear in mind I’m quite new to automation in general, so apologies if this may seem quite trivial.
As the title states, I am to create a sequence with the purpose of it being dynamic depending on what’s read from a file (a worklist submitted). I’ve got access to the HSL Libraries for Sequences and and have established some base ground to my script but… I’m getting stumped at executing it.
What I want:
A sequence that correctly identifies/differentiates the Labware ID each instance the source plate changes. The metaphor my instructor has been using to explain it to me is as follows: If I had a bag of marbles, and each marble is being picked each time, every time a different color is picked up, it is to get assigned a new a stack.
So in terms of a deck layout perspective, the script obtains data from a specific well position and source plate, and every time a new source plate is introduced, it is to get a new Labware ID.
In the worklist provided, I have 2 source plates. One with 40 samples, the next one with 56. So ideally, when the script is ran, 40 samples will be assigned LabwareID_1 and then when reading sample 41, it realizes that it’s from a different source plate hence all subsequent samples with the same barcode will be assigned LabwareID_2.
My problem:
I’m not sure what element I’m missing, but instead of sorting 40 samples into Labware ID_1 and 56 into Labware ID_2, it’s sorting all 96 into LabwareID_1 and then looping again and assigning 96 into LabwareID_2.
Any help or guidance in general would be appreciated!