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

Feature: Update repr class methods #96

Merged
merged 3 commits into from Jan 31, 2017
Merged

Feature: Update repr class methods #96

merged 3 commits into from Jan 31, 2017

Conversation

pseudocubic
Copy link
Contributor

Updated repr methods in relevant classes, excluding specifically Instrument and Fitter which are being actively worked on.

Also small updates to CI test suite were made.

David M Fobes added 3 commits January 30, 2017 09:04
Added __repr__ methods to the following classes:

Atom
Lattice
Sample
Material
Symmetry
Energy
MagneticFormFactor

Triple single quote converted to triple double quotes.

Attribute `direct` in Sample class getter/setter created
Set the seed for np.random in test_fitting to prevent failures in random CI runs.
Added Support for Python 3.6 and latest versions of numpy, scipy, and matplotlib
@codecov-io
Copy link

codecov-io commented Jan 30, 2017

Codecov Report

Merging #96 into master will increase coverage by -0.19%.

@@            Coverage Diff            @@
##           master     #96      +/-   ##
=========================================
- Coverage   84.28%   84.1%   -0.19%     
=========================================
  Files          47      47              
  Lines        3856    3881      +25     
=========================================
+ Hits         3250    3264      +14     
- Misses        606     617      +11
Impacted Files Coverage Δ
neutronpy/spurion.py 98.03% <100%> (ø)
neutronpy/crystal/atom.py 76.66% <50%> (-4.11%)
neutronpy/energy.py 90.47% <50%> (-1.33%)
neutronpy/crystal/symmetry.py 92.8% <50%> (-0.63%)
neutronpy/crystal/material.py 72.81% <60%> (-0.66%)
neutronpy/crystal/structure_factors.py 88.88% <66.66%> (-1.81%)
neutronpy/crystal/sample.py 81.57% <70%> (-5.09%)
neutronpy/crystal/lattice.py 99.01% <80%> (-0.99%)

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 0ab3120...4010598. Read the comment docs.

@pseudocubic pseudocubic merged commit f0d8fb2 into neutronpy:master Jan 31, 2017
@pseudocubic pseudocubic deleted the feature/__repr__-update branch February 8, 2017 15:39
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