AutoFlowResearch / SmartPeak

Fast and Accurate CE-, GC- and LC-MS(/MS) Data Processing
MIT License
43 stars 13 forks source link

Rendering issue with Calibrators screen, calibration curves #411

Closed buijt closed 3 years ago

buijt commented 3 years ago

Describe the bug I am looking at the calibration curve figures generated from the example dataset for LCMS MRM Standards, and the GUI is connecting the dots in a bizarre manner. The line fit drawing appears to be connecting the last calibration point back to the coordinates (0, 0) in the figure, then drawing another line from (0, 0) to (inf, inf) (or at least some large value outside of the render window).

To Reproduce Steps to reproduce the behavior:

  1. Load the LCMS MRM Standards example dataset into SmartPeak 1.12.0
  2. Run workflow
  3. Open Calibrators screen and select some transitions to plot
  4. The calibration curve figures look odd

Expected behavior A clear and concise description of what you expected to happen.

logs Attach all recent SmartPeak log files which can be found in the following locations :

smartpeak_log_2021-08-23_12-04-42.log

Video

https://user-images.githubusercontent.com/44679745/130508274-2ff40112-3658-46a5-8dd9-ca6b3fe95b8e.mp4

Version information

Additional context Add any other context about the problem here.

bertrandboudaud commented 3 years ago

It seems the concentration data need to be sorted before being displayed. The x values go from 0 to 8 but are not sorted image