dansteingart/Ardustat — Issue #11: Garbage in Calibration pickles
Author: MeisBarry
Created: 2011-10-18 03:22:59+00:00
State: open

The dict resulting from pickle.load() of a calibration file had extraneous values in it. There were the normal pot step keys, but then other bizarre integers, positive and negative. I haven't tried to reproduce it, but found it to exist in the wild (ie, Ameer's calibration file).

Additionally, the "normal pot step keys" only go up to 254 instead of 255, which appears to be a result of calling range(0,255) instead of range(0,256) in the calibrate function of ardustat_library_simple.py. Is this by-design now, or should it be fixed?