-
Notifications
You must be signed in to change notification settings - Fork 78
Add toggle for new emmet core features #1348
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1348 +/- ##
===========================================
+ Coverage 86.03% 86.10% +0.07%
===========================================
Files 227 227
Lines 17791 17827 +36
===========================================
+ Hits 15306 15350 +44
+ Misses 2485 2477 -8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
saw the initial review request and looked briefly, only thing I'll say is that having the default be |
|
Sorry forgot I already sent a request! Default, One other thing I noticed: the Trajectory classes try to ensure that the ordering of elements is consistent across all frames. That re-ordering didn't get applied to the properties which are tagged to a site, the forces and magmoms AFAIK, the site/element order is always consistent across ionic steps in a vasprun / task doc, so that doesn't matter for the current trajectory collection. I can check to make doubly sure tho |
Sorry, should have been clearer, by having the flag be |
If you find we need to re-generate the trajectory parquet dataset its nbd 👍 |
Correct but happy to change if we want to switch to opt-in pattern moving forwards |
881a982 to
d76f0bf
Compare
|
Default is now opt-in for the new features - we don't seem to test the vasp objects stored in We should probably add tests for toggling on/off specifically, will work on that |
|
sounds good, just tag us when you want review or think it's ready |
|
Should be good to go! |
tsmathis
left a comment
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.
nothing to add overall, looks good 👍
From atomate2 #1325, it was suggested that new emmet features, like models which replace pymatgen ones for bandstructure, DOS, etc., be an opt-in feature
Adds basic toggle here for the emmet models
EmmetSettings.USE_EMMET_MODELSto avoid a generic "TOGGLE_DEV_FEATURES" kind of thing