wheeler-microfluidics / dmf-control-board-firmware

Firmware for an Arduino-based DMF control board and a Python module for communicating with it over a serial connection.
http://microfluidics.utoronto.ca/trac/dropbot/wiki/ControlBoard
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Dropping N/A values when performing channel test sweep causes error #7

Closed cfobel closed 7 years ago

cfobel commented 7 years ago

As reported on the MicroDrop developer mailing list, dropping N/A values when performing a test sweep of the channels causes the following error:

ValueError('Length of values does not match length of index')

This is because the length of the results dataframe with the N/A rows removed may be less than the length of the array returned from, for example, the FeedbackResults.Z_device() method.