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

nipy / nibabel / 1185
93%

Build:
DEFAULT BRANCH: master
Ran 03 Jan 2017 07:42AM UTC
Jobs 1
Files 171
Run time 8s
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
1185

Pull #501

travis-ci

web-flow
Update get_csa_header to return none on CSAReadError

Some non-MRI dicom datasets have just strings in CSA Header tags. This causes the read on line 68 to throw an error because the string is not a CSA header. Unfortunately this throws out other packages such as dcmstack which use nibabel. The proposed fix returns none if a read error is encountered when such strings are parsed. It is possible such strings may pass the initial check for 0 < n_tags <=128 which throws the CSAReadError but fail later in which case the except block can be be modified to handle those exceptions as well.
Pull Request #501: Update get_csa_header to return none on CSAReadError

20957 of 21832 relevant lines covered (95.99%)

0.96 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
9
100.0
/home/travis/build/nipy/nibabel/venv/lib/python2.7/site-packages/nibabel/nicom/csareader.py
Jobs
ID Job ID Ran Files Coverage
4 1185.4 (COVERAGE=1) 03 Jan 2017 07:42AM UTC 0
95.99
Travis Job 1185.4
Source Files on build 1185
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1185
  • Pull Request #501
  • PR Base - master (#1178)
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

© 2025 Coveralls, Inc