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

Feature/sof 5666 - generate dft_functionals.json in install hook #197

Open
wants to merge 6 commits into
base: epic/SOF-5386
Choose a base branch
from

Conversation

adewyer
Copy link
Contributor

@adewyer adewyer commented Feb 9, 2022

No description provided.

@adewyer adewyer requested a review from tjduigna February 9, 2022 18:05
functionals.py Outdated
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")
Copy link
Contributor

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.

@adewyer adewyer changed the base branch from feature/SOF-5265 to epic/SOF-5386 February 9, 2022 18:08
functionals.py Outdated
import json
import errno
Copy link
Contributor

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.

@adewyer adewyer changed the base branch from epic/SOF-5386 to dev February 14, 2022 18:51
@adewyer adewyer changed the base branch from dev to epic/SOF-5386 February 14, 2022 18:51
@timurbazhirov timurbazhirov changed the title Feature/sof 5666 Feature/sof 5666 - generate dft_functionals.json in install hook Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants