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

Fix ASE calculator returning stale forces (#261) #262

Merged
merged 11 commits into from
Nov 19, 2020

Conversation

smheidrich
Copy link
Contributor

Fixes #261 by calling ase.Calculator.calculate() from FLARE_Calculator.calculate() as required by ASE.

@codecov-io
Copy link

Codecov Report

Merging #262 (b3883e4) into master (adca6a8) will increase coverage by 0.34%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #262      +/-   ##
==========================================
+ Coverage   54.50%   54.84%   +0.34%     
==========================================
  Files          51       51              
  Lines       11919    11920       +1     
==========================================
+ Hits         6496     6538      +42     
+ Misses       5423     5382      -41     
Impacted Files Coverage Δ
flare/ase/calculator.py 85.18% <100.00%> (+21.00%) ⬆️
flare/mgp/mapxb.py 85.31% <0.00%> (+1.26%) ⬆️
flare/mgp/mgp.py 96.07% <0.00%> (+5.22%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update adca6a8...b3883e4. Read the comment docs.

@YuuuXie YuuuXie assigned YuuuXie and unassigned YuuuXie Nov 6, 2020
@YuuuXie YuuuXie self-requested a review November 6, 2020 20:10
@YuuuXie YuuuXie changed the base branch from master to development November 6, 2020 20:11
@YuuuXie
Copy link
Collaborator

YuuuXie commented Nov 6, 2020

Hi, thanks for reporting the issue and make this fix! I'll review this pull request

@jonpvandermause jonpvandermause merged commit be6ad61 into mir-group:development Nov 19, 2020
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.

ASE calculator returns the same forces no matter what the positions are
5 participants