cidgoh / VIRUS-MVP

VirusMVP is an interactive heatmap-centric app that integrates viral genomic mutations, lineage information and curated functional impact to study the spread and evolution of viruses in Canada and globally.
https://virusmvp.org/
MIT License
6 stars 2 forks source link

script for setting default view doesn't work in its current structure on production instance #203

Open anwarMZ opened 1 month ago

anwarMZ commented 1 month ago

Script defaults_generator/defaults_generator_script.py is not working in its current structure with an error.

python defaults_generator/defaults_generator_script.py 
Traceback (most recent call last):
  File "/home/mzanwar/COVID-MVP/defaults_generator/defaults_generator_script.py", line 21, in <module>
    from definitions import (REFERENCE_DATA_DIR,
ModuleNotFoundError: No module named 'definitions'

It does work well by copying the script one directory up (base VIRUS-MVP dir).

ivansg44 commented 1 month ago

We can just move default_generator_script.py to parent folder, since no other assets are in that folder now