• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

modflowpy / flopy / 1317
73%

Build:
DEFAULT BRANCH: develop
Ran 10 Apr 2018 01:38PM UTC
Jobs 5
Files 177
Run time 16min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1317

push

travis-ci

jdhughes-usgs
Resolve several numpy warnings (#317)

* Avoid numpy warning from issubdtype

For reference, this warning was:
FutureWarning: Conversion of the second argument of issubdtype from `int` to `np.signedinteger` is deprecated. In future, it will be treated as `np.int32 == np.dtype(int).type`.

* Improve float type check method

* Avoid RuntimeWarning: invalid value encountered in double_scalars

* Transition some numpy recarrays to structured arrays to avaoid FutureWarning

This warning was:
> Numpy has detected that you may be viewing or writing to an array returned by selecting multiple fields in a structured array.
> This code may break in numpy 1.15 because this will return a view instead of a copy -- see release notes for details.

Also remove a few too unecessary .copy() calls.

* fix check that was using 1.0 rather than chk.thin_cell_threshold

use masked array for thicknesses with non-finite values to avoid
a series of numpy warnings:
RuntimeWarning: invalid value encountered in less/less_equal/greater

* internally use maksed arrays to avoid issues calculating with invalid values (NaNs), but return arrays with invalid values, as is expected(!?)

* repair my bad indexing, and fix a few more unresolved FutureWarning

25206 of 36290 relevant lines covered (69.46%)

3.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1317.1 10 Apr 2018 01:38PM UTC 0
69.46
Travis Job 1317.1
2 1317.2 10 Apr 2018 01:42PM UTC 0
69.45
Travis Job 1317.2
3 1317.3 10 Apr 2018 01:39PM UTC 0
69.45
Travis Job 1317.3
4 1317.4 10 Apr 2018 01:52PM UTC 0
69.61
Travis Job 1317.4
5 1317.5 10 Apr 2018 01:54PM UTC 0
69.61
Travis Job 1317.5
Source Files on build 1317
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1317
  • 05bbaa0c on github
  • Prev Build on develop (#1314)
  • Next Build on develop (#1319)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc