Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anwarMZ opened this issue May 7, 2024 · 1 comment
Labels

Comments

@anwarMZ
Copy link
Member

anwarMZ commented May 7, 2024

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).

@anwarMZ anwarMZ changed the title script for setting default view doesn't run in its current structure on production instance script for setting default view doesn't work in its current structure on production instance May 7, 2024
@ivansg44
Copy link
Collaborator

ivansg44 commented May 7, 2024

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

@ivansg44 ivansg44 added the good first issue Good for newcomers label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants