It appears that a check against the specified minimum number of calibrants has not been implemented.
HappyTools still calibrates (or attempts to calibrate) chromatograms that contain less calibrants with a high enough S/N.
This was an issue when batch processing a large amount of samples that included blanks.
Because the specified calibrants did not have a high enough S/N in the blanks, HappyTools attempted to determine a calibration function using an empty self.calibration_time_pairs list (HappyTools/bin/chromatogram.py).
This caused the error
ValueError: not enough values to unpack (expected 2, got 0)
in the function determine_calibration_function when trying to zip above mentioned list self.calibration_time_pairs.
It appears that a check against the specified minimum number of calibrants has not been implemented. HappyTools still calibrates (or attempts to calibrate) chromatograms that contain less calibrants with a high enough S/N.
This was an issue when batch processing a large amount of samples that included blanks. Because the specified calibrants did not have a high enough S/N in the blanks, HappyTools attempted to determine a calibration function using an empty
self.calibration_time_pairs
list (HappyTools/bin/chromatogram.py). This caused the errorin the function
determine_calibration_function
when trying to zip above mentioned listself.calibration_time_pairs
.