Tarskin / HappyTools

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

Peak class throws an Exception when determining background/noise for a peak outside the specified time-range (settings) #42

Closed Tarskin closed 5 years ago

Tarskin commented 5 years ago

Describe the bug HappyTools throws an Exception if a Peak instance is outside the Trace time window set in the Settings instance (during background and noise determination).

To Reproduce

**Expected behavior** The Peak shouldn't be considered or processed if it falls outside the Trace time window set in the Settings instance (at all). **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** **Additional context** Bug uncovered by Matthew Choo
Tarskin commented 5 years ago

Fixed.