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

neuropoly / spinalcordtoolbox / 10023
67%

Build:
DEFAULT BRANCH: master
Ran 26 Oct 2018 08:36PM UTC
Jobs 2
Files 77
Run time 8min
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
10023

push

travis-ci

web-flow
sct_extract_metric: Do not zero negative values (#2049)

* sct_extract_metric: Do not zero negative values

Fixes #2048

* sct_extract_metric: Set label to 0 for outlier values

When extracting metrics, the previous implementation set data=0 for outlier data (inf, -inf, nan, etc.), which produced bias in the computed metric. Here, we set the label voxel to 0 instead so this voxel is not used during the computation of the metric.

* extract_metric: Added flag -discard-neg-val

This flag enables the user to discard or keep (default behavious) negative values.

* test_sct_extract_metric: Updated groud-truth

To accommodate the latest change in sct_extract_metric about handling of negative values

* batch_processing: Added flag -discard-neg-val

To introduce the concept to users.

10164 of 15562 relevant lines covered (65.31%)

1.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10023.1 (SCT_MINICONDA=2 MPLBACKEND=Agg) 26 Oct 2018 08:36PM UTC 0
65.31
Travis Job 10023.1
2 10023.2 (SCT_MINICONDA=2 MPLBACKEND=Agg) 26 Oct 2018 08:44PM UTC 0
65.32
Travis Job 10023.2
Source Files on build 10023
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10023
  • 0e3f936e on github
  • Prev Build on master (#10016)
  • Next Build on master (#10028)
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