Closed targos closed 1 year ago
this bug happen because the user visualize 2d FT spectra and then select the zone detection tool then switch to 2d Fid so the zone detection options panel still opened and he try to make zone detection which should not work.
in this case, what do we have to do?
hide the panel if the selected 2d spectrum is not FT or check before making the zone detection and display a message if it is not FT
@lpatiny WDT?
If it is easy to implement, I think when changing the spectrum we could systematically reset the tool to zoom (this means changing the spectrum for the same nucleus or changing the nucleus).
I'm able to reproduce without using the zone detection tool.
Just go to https://dev.nmrium.org/#/SamplesDashboard/d3ubedj4/Viewcytisine2ddatacytisine2dHMBC_HN_Cytisinjson and click this button in the spectra list:
I think this was actually a duplicate of https://github.com/cheminfo/nmrium/issues/2411 ?