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

Arkane pdep py3 fixes #1808

Merged
merged 2 commits into from
Nov 20, 2019
Merged

Arkane pdep py3 fixes #1808

merged 2 commits into from
Nov 20, 2019

Conversation

goldmanm
Copy link
Contributor

@goldmanm goldmanm commented Nov 5, 2019

Motivation or Problem

I ran a pdep job on Python 3 and encountered some small issues. This commit fixed these bugs.

Description of Changes

Figure.close no longer works, so this commit changes how to close the figure. It also renames a variable for consistency.

Testing

Ran an RMG pdep job and got the expected result.

Reviewer Tips

Make sure the code looks adequate

Copy link
Member

@alongd alongd left a comment

Choose a reason for hiding this comment

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

Thanks! I added some comments.

arkane/statmech.py Show resolved Hide resolved
rmgpy/pdep/network.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Nov 5, 2019

Codecov Report

Merging #1808 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1808   +/-   ##
=======================================
  Coverage   43.02%   43.02%           
=======================================
  Files          80       80           
  Lines       21099    21099           
  Branches     5516     5516           
=======================================
  Hits         9077     9077           
+ Misses      11004    10990   -14     
- Partials     1018     1032   +14
Impacted Files Coverage Δ
arkane/kinetics.py 12.14% <0%> (ø) ⬆️
rmgpy/data/statmech.py 42.2% <0%> (ø) ⬆️
rmgpy/rmg/pdep.py 12.21% <0%> (ø) ⬆️
rmgpy/data/kinetics/database.py 50.61% <0%> (ø) ⬆️
rmgpy/data/kinetics/family.py 48.35% <0%> (ø) ⬆️
rmgpy/statmech/ndTorsions.py 59.78% <0%> (ø) ⬆️
rmgpy/yml.py 15.71% <0%> (ø) ⬆️
arkane/sensitivity.py 10% <0%> (ø) ⬆️

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 853f205...c584716. Read the comment docs.

alongd
alongd previously approved these changes Nov 5, 2019
Copy link
Member

@alongd alongd left a comment

Choose a reason for hiding this comment

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

Thanks!!

In older versions of matplotlib, figures had a method close.
They do not anymore, so this has been updated to allow the figures
to close (and memory released)
@goldmanm goldmanm merged commit e0a78cf into master Nov 20, 2019
@goldmanm goldmanm deleted the arkane_pdep_py3 branch November 20, 2019 22:43
@mliu49 mliu49 mentioned this pull request Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants