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

Neuroinflab / kCSD-python / 166 / 2
62%
master: 62%

Build:
DEFAULT BRANCH: master
Ran 28 Jan 2019 03:29PM UTC
Files 16
Run time 1s
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

28 Jan 2019 03:23PM UTC coverage: 60.422% (-0.04%) from 60.464%
DISTRIB="conda" PYTHON_VERSION="3.5" NUMPY_VERSION="1.10.4" SCIPY_VERSION="0.16.1" SIX_VERSION="1.10.0" COVERAGE="true"

push

travis-ci

ccluri
Fixes #77 (#81)

* 'Fixed `gauss_2d_large()`.

`kcsd.validation.csd_profile.gauss_2d_large(seed=63)` does not return
NaN anymore.

`repeatUntilValid()` decorator has been defined for that purpose.

A simple test for the fix provided in the `__main__` section of the module.

Note: The issue has not been solved by fixing distribution of
the `zs` variable in order to provide backward-compatibility.

* 2**32 - 1 included as possible alternative seed in the `kcsd.validation.csd_profile.repeatUntilValid()` decorator.

* Protection of `repeatUntilValid()` decorator against (extremely unlikely) neverending loop of seeds.

* `repeatUntilValid()` decorator reffactored
Seed sequence generation moved to `seedSequence()` generator function.

* `seedSequence()` generator function simplified (the generated sequence has changed though).

* Remove unnecessary imports

According to https://docs.python.org/3/library/builtins.html imports
from `builtsin` are unnecessary. As `builtsin` is Python 3 only,
their removal increases beckward-compatibility of the package.

Fixes #77

1690 of 2797 relevant lines covered (60.42%)

0.6 hits per line

Source Files on job 166.2 (DISTRIB="conda" PYTHON_VERSION="3.5" NUMPY_VERSION="1.10.4" SCIPY_VERSION="0.16.1" SIX_VERSION="1.10.0" COVERAGE="true")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 104
  • Travis Job 166.2
  • aa0b5471 on github
  • Prev Job for DISTRIB="conda" PYTHON_VERSION="3.5" NUMPY_VERSION="1.10.4" SCIPY_VERSION="0.16.1" SIX_VERSION="1.10.0" COVERAGE="true" on master (#164.2)
  • Next Job for DISTRIB="conda" PYTHON_VERSION="3.5" NUMPY_VERSION="1.10.4" SCIPY_VERSION="0.16.1" SIX_VERSION="1.10.0" COVERAGE="true" on master (#191.2)
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