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

Duplicate dbs - docker install-dbs #1547

Open Bisho2122 opened 2 weeks ago

Bisho2122 commented 2 weeks ago

https://github.com/metaspace2020/metaspace/blob/6b129f9bb83232c347b57ab69d52b0377aaf0151/docker/setup-dev-env.sh#L26

image

Can we ensure that if database already exists that it won't download it again ?.

It will invoke the assertion error below https://github.com/metaspace2020/metaspace/blob/c36571e0893295c30fb8b1b67e04886e27e373f0/metaspace/engine/sm/engine/db.py#L114

When I run https://github.com/metaspace2020/metaspace/blob/c36571e0893295c30fb8b1b67e04886e27e373f0/metaspace/engine/scripts/import_lion_info.py#L53C13-L53C77