metaspace2020 / metaspace

Cloud engine and platform for metabolite annotation for imaging mass spectrometry
https://metaspace2020.eu/
Apache License 2.0
44 stars 9 forks source link

Handling deleted dbs on dataset reprocessing #1415

Closed lmacielvieira closed 10 months ago

lmacielvieira commented 10 months ago

Description

Checking if db exists before starting annotation process, as deleted dbs were triggering errors if not checked #1406

How to test it

1 - Annotate dataset with a custom db 2 - Delete custom db 3 - Reprocess dataset

sergii-mamedov commented 10 months ago

Maybe it makes sense to delete the previously deleted mol_db from self.ds.config['database_ids']? Because otherwise we will accumulate garbage.