cheminfo / nmrium

React component to display and process nuclear magnetic resonance (NMR) spectra.
https://docs.nmrium.org
MIT License
48 stars 24 forks source link

Prediction, name and frequencies #3080

Closed lpatiny closed 1 month ago

lpatiny commented 1 month ago

image

When predicting a spectrum the name is pretty ugly.

Frequency is also not correct because we display for 2D the 2 frequencies.

image

hamed-musallam commented 1 month ago

@lpatiny

I checked the frequency in the information panel and it seems correct to me, doesn't it?

for the spectrum name, I removed the UUID from the suffix, does it ok for you? image

lpatiny commented 1 month ago

In the spectrum name for the 2D we should only keep the first frequency see (element 0 of the array) because the other one can anyway be calculated.

For the frequency column

image

We need a specific renderer so that we also only display the first frequency.