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

IGVF-DACC / checkfiles / 110b6182-4dd7-4ec6-b84c-6c9b00c14b44

26 Aug 2025 10:23PM UTC coverage: 84.985% (+0.2%) from 84.767%
110b6182-4dd7-4ec6-b84c-6c9b00c14b44

push

circleci

mingjiecn
add schema and update function for checking content type barcode to sample mapping

24 of 25 new or added lines in 3 files covered. (96.0%)

1098 of 1292 relevant lines covered (84.98%)

0.85 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.5
/src/checkfiles/barcode_to_sample_mapping_check.py
1
from frictionless import Check, errors
1✔
2

3

4
class BarcodeToSampleMappingCheck(Check):
1✔
5
    Errors = [errors.RowConstraintError]
1✔
6

7
    def validate_row(self, row):
1✔
8
        # for row position, parse barcode type and well, if any of them is not empty, then the other two must not be empty
9
        if (row['position'] and row['parse barcode type'] and row['well']) or (not row['position'] and not row['parse barcode type'] and not row['well']):
1✔
NEW
10
            pass
×
11
        else:
12
            note = 'position, parse barcode type and well must be all empty or all not empty'
1✔
13
            yield errors.RowConstraintError.from_row(row, note=note)
1✔
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