When running the Library Search with a MGF that have an ion with SCANS=0, this ion does not appear in the results.
When running the Molecular Networking with the same MGF, in the clusterinfo output file the #Scan column is wrongly set to 1 instead of 0 for the ion with SCANS=0.
To Reproduce
Create a MGF file with 3 identical ions, with SCANS number from 0 to 2 and with a MS/MS that is present in the GNPS Libraries
Run the Molecular Networking and Library Search workflows using this MGF file
Inspect the output, looking for the SCANS=0 library results and clusterinfo values
Expected behavior
The ion with SCANS=0 should be present, but will be missing in the Library Search result and the other 2 identical ions will be present. And in the Molecular Networking result the #Scan column value for the ion with SCANS=0 will be set to 1 in the clusterinfo table instead of 0.
When running the Library Search with a MGF that have an ion with SCANS=0, this ion does not appear in the results. When running the Molecular Networking with the same MGF, in the clusterinfo output file the #Scan column is wrongly set to 1 instead of 0 for the ion with SCANS=0.
To Reproduce
Expected behavior The ion with SCANS=0 should be present, but will be missing in the Library Search result and the other 2 identical ions will be present. And in the Molecular Networking result the #Scan column value for the ion with SCANS=0 will be set to 1 in the clusterinfo table instead of 0.
Below is a MGF file to reproduce this behavior. test_library_search_scans0.txt