MassBank / MassBank-web

The web server application and directly connected components for a MassBank web server
14 stars 22 forks source link

Result structure and order broken. #156

Closed meier-rene closed 5 years ago

meier-rene commented 5 years ago

@schymane wrote: I'm seeing very strange things with MassBank searching ... (records appearing many, many times; no default settings making it look like we have nothing in the library etc etc)

Look how many times we have (the same) records of nicotine, they repeat every second entry for a while ... same for benzotriazole

https://massbank.eu/MassBank/Result.jsp?compound=Nicotine&op1=and&mz=&tol=0.3&op2=and&formula=&type=quick&searchType=keyword&sortKey=not&sortAction=1&pageNo=1&exec=&inst_grp=ESI&inst=CE-ESI-TOF&inst=ESI-ITFT&inst=ESI-ITTOF&inst=ESI-QTOF&inst=ESI-TOF&inst=LC-ESI-IT&inst=LC-ESI-ITFT&inst=LC-ESI-ITTOF&inst=LC-ESI-Q&inst=LC-ESI-QFT&inst=LC-ESI-QIT&inst=LC-ESI-QQ&inst=LC-ESI-QTOF&inst=LC-ESI-TOF&inst_grp=Others&inst=APCI-ITFT&inst=APCI-ITTOF&inst=CI-B&inst=FAB-B&inst=FAB-BE&inst=FAB-EB&inst=FAB-EBEB&inst=FD-B&inst=FI-B&inst=LC-APCI-ITFT&inst=LC-APCI-Q&inst=LC-APCI-QTOF&inst=LC-APPI-QQ&inst=MALDI-QIT&inst=MALDI-TOF&inst=MALDI-TOFTOF&ms=MS2&ion=0

Summary: -number of spectra incorrect -same spectra appear multiple times -ordering is broken

meier-rene commented 5 years ago

just referencing discussion at a different place https://github.com/MassBank/MassBank-web/issues/81#issuecomment-463546679

sneumann commented 5 years ago

Hi, I need some explanation here. In the search above, we have two records KO003603 and KO003605 that only differ in the CID eV. Why are they not grouped ? They have the same CH$NAME entries. Yours, Steffen

schymane commented 5 years ago

That is the point … something is broken (badly). See screenshot – if you expand the selection, then 11 spectra reported, but only 1 displayed? 6 spectra but only one displayed? 36 hits but way more than 36 displayed (because of repetition)

[cid:image001.png@01D4C45A.3D21E800]

schymane commented 5 years ago

image

Treutler commented 5 years ago

Partially fixed with f8ee6a14ddb19f7d4e4e5db164ac2630adb032c7 @meier-rene will add defaults for instrument type / MS type / Ion Mode

meier-rene commented 5 years ago

Defaults for new user are added now and completely empty search requests get caught before the search is submitted. Search results are already fixed for a while. As soon as we have a new rollout its also available for the public. Preview is available at https://msbi.ipb-halle.de/MassBank/