Tarskin / HappyTools

A tool for the (high-throughput) processing of HPLC data.
Apache License 2.0
34 stars 16 forks source link

Integration failure #52

Open ozzyRebello opened 4 years ago

ozzyRebello commented 4 years ago

Happytools does not entirely function with Python 3.8. Even with Python 3.7.0 (32 bit) the program has similar issues. The chromatograms can be opened, baseline correction works, calibration also works. However, the program does not work for the integration. In case of Python 3.7.0, (32 bit) on uninstalling the numpy, scipy and matplotlib libraries and reinstalling the recommended version of numpy 1.15.0 , scipy 1.1.0 and matplotlib 2.2.3; the integration function of happytools works.

Tarskin commented 4 years ago

Would you be able to specify the library versions that you were using that caused the error?

Tarskin commented 4 years ago

This bug is caused by a change in numpy.linspace, where the number of steps now can no longer be safely interpreted as an integer (from a float).

Tarskin commented 4 years ago

@ozzyRebello Has this bug been resolved with the mentioned commit?

emrahyaman commented 2 years ago

I have the same problem. My dataset consists of the fluorescence detector-obtained chromatograms of N-glycan compositions. I was able to introducing cromatograms and perform baseline correction, autocalibration and annotiation. however, the batch processing step does not work, when I click to "run" to start, the progress bar appears and ends the process very quickly. I get a completely empty "summary.results" file. By the way, the demo files (Igg chromatograms) included in HappyTools works correctly. I am using windows 10 and lastest release of HappyTools. I have tried python versions 3.10, 3.9 and 3.8. I'm quite begginer in python, would you specify how I run the commit above?