Skip to content

Conversation

@pavoljuhas
Copy link
Member

CI reports only - do not merge

And verify it can accept numpy.int.
Move it to srreal_validators.cpp.
Avoid round-about conversion of numpy.int scalars.
Old numpy versions convert numpy.float32 to integer.
Make sure test raises TypeError from extractint.
@codecov
Copy link

codecov bot commented Apr 25, 2019

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage    98.7%   98.71%   +<.01%     
==========================================
  Files          45       45              
  Lines        3792     3805      +13     
==========================================
+ Hits         3743     3756      +13     
  Misses         49       49
Impacted Files Coverage Δ
src/diffpy/srreal/tests/testpairquantity.py 100% <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...12379de. Read the comment docs.

@pavoljuhas pavoljuhas merged commit 12379de into diffpy:master Apr 25, 2019
pavoljuhas added a commit that referenced this pull request Apr 25, 2019
* improve argument conversion in PairQuantity.setPairMask
* expose internal helper `isiterable`
* raise error for invalid numpy int conversion

Resolve #19.
@pavoljuhas pavoljuhas deleted the improve-pair-mask-handling branch April 25, 2019 21:26
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