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

biocore / emperor / 1552
92%

Build:
DEFAULT BRANCH: master
Ran 16 May 2020 12:46AM UTC
Jobs 5
Files 6
Run time 1min
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
1552

push

travis-ci-com

web-flow
Some (mostly coloring-focused) bug fixes (#763)

* BUG: Make naturalSort treat +/-Infinity as words

Modified the function and added a unit test verifying this.
Both modifications are from Empress' codebase, specifically in
the PR https://github.com/biocore/empress/pull/159.

* MNT: Update Chroma.js to v2.1.0 (from v1.1.1) #762

As expected, this causes the JS tests to fail due to small precision
differences. Will need to update those.

* BUG: Fix interpolation for "ordinal" color scaling

Closes #760. Tests are broken, though, so will need to fix those
(along with tests broken from fixing #762).

* MNT: use "Viridis" instead of "viridis" as default

Both seem to be accepted by Chroma.js, but may as well be consistent
with what their docs use (also, the Emperor docstrings said "Viridis"
in spite of this not being followed).

* TST: Fix getInterpolatedColors() test for #760

* TST: More CVC test fixes for #760/#762

Also added an empress code attribution to getInterpolatedColors()

* TST: Partial work on fixing expected gradient SVGs

emphasis on "partial", would prefer to automate this

* TST: Update gradient SVGs to use new colors

Just did this by copying in the new output (finagled it to roughly
match the old expected output's formatting for purposes of making
the diff cleaner).

Now that tests pass, I'm gonna say that this officially closes #762 :)

* MNT: only call parseFloat() once in naturalSort()

Addresses comment from @wasade

* TST: Test naturalSort() with sci. notation numbers

Addresses @wasade's comment.

NOTE that #761 is still gonna mess things up, though. Will comment
accordingly in #763.

204 of 219 branches covered (93.15%)

439 of 477 relevant lines covered (92.03%)

4.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1552.1 (NUMPY_VERSION="") 16 May 2020 12:46AM UTC 0
92.03
Travis Job 1552.1
2 1552.2 (NUMPY_VERSION="") 16 May 2020 12:46AM UTC 0
92.03
Travis Job 1552.2
3 1552.3 (NUMPY_VERSION="<1.13") 16 May 2020 12:46AM UTC 0
92.03
Travis Job 1552.3
4 1552.4 (NUMPY_VERSION="") 16 May 2020 12:47AM UTC 0
92.03
Travis Job 1552.4
5 1552.5 (NUMPY_VERSION="<1.13") 16 May 2020 12:47AM UTC 0
92.03
Travis Job 1552.5
Source Files on build 1552
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1552
  • 2eecf7a6 on github
  • Prev Build on master (#1548)
  • Next Build on master (#1553)
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