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

Sp box #2213

Merged
merged 5 commits into from Feb 28, 2019
Merged

Sp box #2213

merged 5 commits into from Feb 28, 2019

Conversation

zemanj
Copy link
Member

@zemanj zemanj commented Feb 28, 2019

Fixes #2190

Changes made in this Pull Request:

  • Enforced dtype=numpy.float32 for Universe.dimensions and Timestep.dimensions

I searched the code base and found the same lines as indicated by @jbarnoud and @PicoCentauri in the discussion of #2190 (see comments of @jbarnoud and @PicoCentauri).

No calls of numpy.astype() to make @richardjgowers happy. 😉

Checks for valid boxes as outlined in my comment are not included since that requires a more in-depth discussion about what defines a valid box (semi-periodic systems, negative angles, etc.).

I don't think we need to adjust the docs, right?

PR Checklist

  • Tests?
  • Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?

@zemanj
Copy link
Member Author

zemanj commented Feb 28, 2019

@richardjgowers Thanks, that was record-breaking fast! 👍

@codecov
Copy link

codecov bot commented Feb 28, 2019

Codecov Report

Merging #2213 into develop will decrease coverage by 1.14%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2213      +/-   ##
===========================================
- Coverage    90.71%   89.57%   -1.15%     
===========================================
  Files           15      158     +143     
  Lines         1982    19684   +17702     
  Branches         0     2769    +2769     
===========================================
+ Hits          1798    17631   +15833     
- Misses         184     1458    +1274     
- Partials         0      595     +595
Impacted Files Coverage Δ
package/MDAnalysis/core/universe.py 94.98% <100%> (ø)
package/MDAnalysis/coordinates/memory.py 96.02% <100%> (ø)
package/MDAnalysis/coordinates/GRO.py 93.87% <0%> (ø)
package/MDAnalysis/coordinates/base.py 93.3% <0%> (ø)
package/MDAnalysis/analysis/helanal.py 85.19% <0%> (ø)
package/MDAnalysis/topology/MinimalParser.py 100% <0%> (ø)
package/MDAnalysis/visualization/__init__.py 100% <0%> (ø)
package/MDAnalysis/core/qcprot.py 100% <0%> (ø)
...e/MDAnalysis/analysis/encore/clustering/cluster.py 96.22% <0%> (ø)
package/MDAnalysis/coordinates/DCD.py 97.16% <0%> (ø)
... and 135 more

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 ddab79e...60c7a66. Read the comment docs.

@zemanj zemanj merged commit f51ce5f into MDAnalysis:develop Feb 28, 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.

None yet

2 participants