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

Env now has force attribute #229

Merged
merged 2 commits into from
Aug 27, 2020
Merged

Env now has force attribute #229

merged 2 commits into from
Aug 27, 2020

Conversation

stevetorr
Copy link
Contributor

@stevetorr stevetorr commented Aug 27, 2020

AtomicEnvironments can now get their associated force from the structure they were built from.

Should simplify scripts. I modified one GP function where a force will always be input to the function- making a PR to highlight this change as something most people would find useful in their scripts, as handling forces and environments seperately can get a bit unwieldly.

flare/gp.py Outdated
"the covariance matrices are not loaded"
f"it can take extra long time to recompute"
f"the covariance matrices are not loade"
f"dit can take extra long time to recompute"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's a minor typo here

@codecov-commenter
Copy link

Codecov Report

Merging #229 into master will increase coverage by 0.01%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #229      +/-   ##
==========================================
+ Coverage   54.88%   54.89%   +0.01%     
==========================================
  Files          47       47              
  Lines       10674    10679       +5     
==========================================
+ Hits         5858     5862       +4     
- Misses       4816     4817       +1     
Impacted Files Coverage Δ
flare/gp.py 89.13% <75.00%> (-0.15%) ⬇️
flare/env.py 96.68% <100.00%> (+0.06%) ⬆️

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 179a731...f8ef0f8. Read the comment docs.

@stevetorr stevetorr merged commit c821e23 into master Aug 27, 2020
@stevetorr stevetorr deleted the steven/env_force_attribute branch August 27, 2020 15:08
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.

3 participants