-
Notifications
You must be signed in to change notification settings - Fork 80
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
[FIX] Fix major bug that caused user_incar_settings
to be overwritten in some cases
#412
[FIX] Fix major bug that caused user_incar_settings
to be overwritten in some cases
#412
Conversation
…fy variable instead of directly
@utf Let me know your thoughts on setting |
Sorry for the late response. There is an issue with just applying user_incar_settings again at the end. That's because some settings like MAGMOM/LDAUU etc are set using a dictionary in the user_incar_settings. These are then parsed by the input set generator and converted into the format required by VASP. So I think we'll have to do it the way I mentioned in the GitHub issue. |
@utf no problem. And what are your thoughts regarding having |
Personally, I think we can leave it to |
@jmmshn Honestly I am lost with how to fix the failing tests for ISMEAR. Can you help me with this? |
Hi @matthewkuner I can only recall implementing As far as fixing the failing tests it just looks like you have changed settings to the incars are now different.
I would start with (2), see how intrusive the change becomes, and then make decisions from there. |
If you go for point 2, you only need to edit the input INCAR (not any of the outputs). Edit, actually you shouldn't have to edit anything. This looks like the behaviour of the input set has changed? |
@utf could this be related to materialsproject/custodian#271 ? |
The relevant files in the MPInputSets haven't changed in months. Do you mean the Atomate2 sets? |
@matthewkuner OK I can help. There are some weird stuff breaking for me as well so it will make sense to have a chat. |
Ok, this seems fixed now. @matthewkuner would you be able to add an extra test for the previous behaviour that was broken? |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #412 +/- ##
==========================================
+ Coverage 64.96% 65.54% +0.57%
==========================================
Files 74 78 +4
Lines 7196 7479 +283
Branches 946 970 +24
==========================================
+ Hits 4675 4902 +227
- Misses 2221 2275 +54
- Partials 300 302 +2
|
38bc742
to
aad9c7d
Compare
@utf tests have been added. Let me know if they are adequate--if so, this should be ready for merging. |
Great, thank you! |
Summary
Fixes major bug that caused
user_incar_settings
to be overwritten in some cases.