djdt / spcal

spICP-MS calculator.
https://spcal.readthedocs.io
GNU General Public License v3.0
9 stars 1 forks source link

Program crashes when viewing single m/z histograms. #18

Closed melinkhuber closed 5 months ago

melinkhuber commented 5 months ago

Affected version 1.2.4

Error description

I use the Nu non-targeted import for ICP-TOFMS data. I process data without quantification. Initially, event recognition looks as usual. However, when I try to get the histogram view of a single m/z in the results tab, SpCal crashes.

Error notification window opens: Title: "Uncaught Exception. Message: "cannot convert float NaN to integer".

Entire program shuts down after clicking OK.

Hypothesis

Cheers!

djdt commented 5 months ago

Hi,

I am guessing this is caused by NaNs getting into the histogram data. Can you send the sample file causing the crash?

Cheers

djdt commented 5 months ago

Closed by #19.