glasgowcompbio / ms2ldaviz

Substructural discovery in untargeted metabolomics data using LDA topic modelling.
http://ms2lda.org
MIT License
11 stars 8 forks source link

Gensim docker #147

Closed sverhoeven closed 5 years ago

sverhoeven commented 5 years ago
sdrogers commented 5 years ago

All looks ok - just a couple of queries:

sverhoeven commented 5 years ago

To use redis you will need to run a redis daemon on the server and the settings.py must include the line CELERY_BROKER_URL= "redis://localhost:6379/0".

Pipenv files are generated from the requirements.txt, so only the requirements.txt file was made more complete.

sverhoeven commented 5 years ago
  1. Redis and debug moved to own settings file
  2. Upload gensim form is only visible to members of extra users table
sverhoeven commented 5 years ago
  1. Created CHEMSPIDER_APIKEY const in settings files which is used by all chemspider code.

PS Chembl API has a image endpoint, eg. https://www.ebi.ac.uk/chembl/api/data/image/KXEBOYWJADRGHW-SFHVURJKSA-N (https://www.ebi.ac.uk/chembl/api/data/image/KXEBOYWJADRGHW-SFHVURJKSA-N)

justinjjvanderhooft commented 5 years ago

What does the Chembl API need to draw a structure? :)

justinjjvanderhooft commented 5 years ago

Is it just the InchIKEY?

sverhoeven commented 5 years ago

Yep, ChEMBL ID or Standard InChI Key

sverhoeven commented 5 years ago

@sdrogers PR is ready to be merged.

sdrogers commented 5 years ago

Ok, done, thanks!