updateDBparticles.py is not able to uniquely match particles in dataset to particles in DB
Matching on longSize AND shortSize is not leading to unambiguous matches (unlike previously thought). I started implementing a spectrum hash comparison between the local and the DB particles. Using MD5 sum on the DB server is fast enough to just get all md5 hashes when querying the particles. However, there can be several spectra per particle in the DB. Also, so far I have not been able to produce a matching hash pair on spectra of the same particle. On reason might be the data format of the spectra blobs (see also my comment in ln. 144 updateDBparticles.py)
If this can't be solved to produce matching hashes, an alternative could be to download the complete spectral blob (instead of its hash), convert it locally to the same datatype / format as the spectra from the local txt file and run a hash comparison thereafter.