Skip to content

Conversation

@pavoljuhas
Copy link
Member

CI reports only - do not merge

Handle numpy.int types which have no built-in converters in boost python.
No need for conversion, numpy types are to be handled by Atom class.
Accept numpy types as float-convertible values for Atom attributes.
@pavoljuhas pavoljuhas force-pushed the fix-atom-crash-on-numpy-int branch from a0f9ba6 to 08f0f19 Compare April 25, 2019 20:24
@codecov
Copy link

codecov bot commented Apr 25, 2019

Codecov Report

Merging #20 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage    98.7%   98.71%   +<.01%     
==========================================
  Files          45       45              
  Lines        3792     3820      +28     
==========================================
+ Hits         3743     3771      +28     
  Misses         49       49
Impacted Files Coverage Δ
src/diffpy/srreal/tests/teststructureadapter.py 100% <100%> (ø) ⬆️
src/diffpy/srreal/structureconverters.py 98.66% <100%> (ø) ⬆️

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 f05127a...08f0f19. Read the comment docs.

@pavoljuhas pavoljuhas merged commit 08f0f19 into diffpy:master Apr 26, 2019
pavoljuhas added a commit that referenced this pull request Apr 26, 2019
* add conversion utility extractdouble
* use `extractdouble` to convert Atom attributes

Close #20.
@pavoljuhas pavoljuhas deleted the fix-atom-crash-on-numpy-int branch April 26, 2019 03:24
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.

1 participant