-
Notifications
You must be signed in to change notification settings - Fork 4
Feature/sof 5666 - generate dft_functionals.json in install hook
#197
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
base: epic/SOF-5386
Are you sure you want to change the base?
Conversation
functionals.py
Outdated
| UNIT_FUNCTIONALS_PATH = os.path.join(BASE_DIR, REL_DIR) | ||
| PROTOTYPE_FILENAME = os.path.join(UNIT_FUNCTIONALS_PATH, "dft_unit_functionals_proto.json") | ||
| UNIT_FILENAME = os.path.join(UNIT_FUNCTIONALS_PATH, "dft_unit_functionals.json") | ||
| DATA_FILENAME = os.path.join(BASE_DIR, "src/py/esse/data", REL_DIR, "dft_unit_functionals.json") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the schema directory itself is where the symlinking occurs, DATA_FILENAME should no longer be necessary.
functionals.py
Outdated
| import os | ||
| import sys | ||
| import json | ||
| import errno |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We stopped using the force_symlink function so this import is no longer needed.
dft_functionals.json in install hook
No description provided.