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

Clinical-Genomics / cg / 9972796676
86%

Build:
DEFAULT BRANCH: master
Ran 17 Jul 2024 10:48AM UTC
Jobs 1
Files 573
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

17 Jul 2024 10:45AM UTC coverage: 84.335% (+0.02%) from 84.311%
9972796676

push

github

web-flow
Parse metrics from smrtlnk datasets file (#3436)(patch)

## Description
Closes https://github.com/Clinical-Genomics/add-new-tech/issues/63
Parses the final metrics for PacBio. This last metrics file has a structure different from the previous ones. The desired metrics are not inside an `attributes` section in the json, but in the only existing section. Parsing for the other metrics had to be modified to account for the parsing of this file and make it more DRY.

### Added

- Metrics model
- Function to parse specifically the smrtlink-datasets file in the metrics parser
- Constants for metrics names
- Fixture for parsed metrics and fixture file

### Changed

- Merged `_parse_report` and `parse_attributes_to_model` methods of the metrics parser into one, called `parse_report_to_model`.
- Updated tests of these functions

### Fixed

- Implemented `TypeVar` from the `typing` module to better type-hint the different metrics classes, so just typing the parent class (BaseModel from Pydantic)

46 of 46 new or added lines in 3 files covered. (100.0%)

20495 of 24302 relevant lines covered (84.33%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9972796676.1 17 Jul 2024 10:48AM UTC 0
84.33
Source Files on build 9972796676
Detailed source file information is not available for this build.
  • Back to Repo
  • 755c712a on github
  • Prev Build on master (#9935432333)
  • Next Build on master (#9987180302)
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