Dilution protocol not able to handle 0-length transfer arrays
Closed this issue · 0 comments
jgruselius commented
Affected files:
- [
transfer_dilution_v1403.pro
](/jgruselius/bravo-protocols/blob/master/Protocol Files/facility/transfer/transfer_dilution_v1403.pro) (production) - [
transfer_dilution_v1403.pro
](/jgruselius/bravo-protocols/blob/master/Protocol Files/development/jgr/transfer_protocols_eval/transfer_dilution_v1403.pro) (development) - [
jgr_lib_v1405.js
](/jgruselius/bravo-protocols/blob/master/Protocol Files/facility/transfer/jgr_lib_v1405.js) (production) - [
jgr_lib_v1405.js
](/jgruselius/bravo-protocols/blob/master/Protocol Files/development/jgr/scripts/jgr_lib_v1405.js) (development)
Description:
When all buffer transfers are 0 volume (i.e. final volume = sample volume for all transfers) this will create an empty array for the buffer transfer objects. This can not be handled properly by the VWorks protocol.
Probably the same problem will occur in the case of an empty source transfer array.
How to fix:
Make sure the TransferManager class handles these cases properly then skip zero-length transfer arrays in the .pro
file.