Skip to content

Commit 3179119

Browse files
default opt-out from new models
1 parent 38bd5e9 commit 3179119

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
- name: Test with pytest
104104
if: always() # run tests even if linting failed
105105
shell: bash -l {0}
106+
env: EMMET_USE_EMMET_MODELS=true
106107
run: python${{ matrix.python-version }} -m pytest -n auto --cov=emmet --cov-report=xml ${{ matrix.package }}/tests
107108

108109
- uses: codecov/[email protected]

emmet-core/emmet/core/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ class EmmetSettings(BaseSettings):
174174
)
175175

176176
USE_EMMET_MODELS: bool = Field(
177-
True,
177+
False,
178178
description=(
179-
"Whether to use emmet (True) or pymatgen (False) models "
179+
"Whether to use emmet (True) or pymatgen (False, default) models "
180180
"for materials simulation outputs in certain document models "
181181
"which are used only in workflows and not in build pipelines."
182182
),

0 commit comments

Comments
 (0)