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

emdb-empiar / sfftk-rw / 10
85%
master: 0%

Build:
Build:
LAST BUILD BRANCH: v0.6.7.dev0
DEFAULT BRANCH: master
Ran 17 Dec 2019 01:39PM UTC
Jobs 4
Files 24
Run time 2min
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
10

push

travis-ci

paulkorir
Major improvements in handling of HDF5 and JSON

* fixed bug relating to having external references as `None`
* we now have validation; validation is only assessed on export/import otherwise users are free to build objects incrementally
with no fear of validation failures on creation or use; validation works by checking if an attribute is defined (on the
`SFFType` subclass with `required=True` - if no value is found during export/import then a validation error is raised of
type `SFFValueError` (see below)
* also `SFFAttribute` now has a `default=<value>` attribute which will be used if no value is specified or found
* schema/base.py: added new error `SFFValueError` for failed validation
* validation is done using `inspect.getattr_static` which is not available in Python 2.7 so we just copied the code
from Python 3.8, which works OK
* schema/adapter.py: the following classes benefit from the validation checks above *only for JSON import/export*: `SFFRGBA`,
`SFFBiologicalAnnotation`, `SFFExternalReference`, `SFFExternalReferenceList`, `SFFSegment`, `SFFBoundingBox`, `SFFSegmentation`
* schema/adapter.py: all relevant classes have mandatory arguments with `required=True` according to the EMDB-SFF data model
* moderately improved test coverage (83% to 85%)
* now `.xml`, `.hdf5`, and `.h5` are implicitly valid extensions
* `sff-rw view` now handles UniCode characters correctly
* version bump: v0.5.2.dev0

5037 of 5922 relevant lines covered (85.06%)

3.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10.1 17 Dec 2019 01:39PM UTC 0
84.65
Travis Job 10.1
2 10.2 17 Dec 2019 01:41PM UTC 0
84.6
Travis Job 10.2
3 10.3 17 Dec 2019 01:41PM UTC 0
84.6
Travis Job 10.3
4 10.4 17 Dec 2019 01:41PM UTC 0
84.6
Travis Job 10.4
Source Files on build 10
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #10
  • 71d5b643 on github
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