|
Ran
|
Jobs
1
|
Files
67
|
Run time
1min
|
Badge
README BADGES
|
push
github
Skip X-containing proteins by default and support X-free windows (#600) A protein containing X could abort an otherwise valid CTA, gene/tissue or FASTA run. Skip the entire X-containing scan input by default, warn with a count and example names, and continue with clean proteins. All-excluded batches return a normal empty prediction table. `--protein-x-policy windows` / `protein_x_policy="windows"` scores the usable parts: only original peptide windows and required model flanks that contain no X. Names, coordinates and true termini are preserved; internal gaps are never joined or treated as protein boundaries. Native inference is deduplicated and batched across both clean and X-containing proteins, so identical retained inputs reuse one prediction. An advanced `allow` policy retains the unfiltered contract for supporting models, with strict errors. The shared policy covers all antigen categories, named proteins, variant fragments and WT baseline scans. Missing WT windows retain candidate rows with missing WT scores. Exact peptide APIs, other residues and reference exclusions keep their existing behavior. Caches fill and replay only selected occurrences, preserving stored scores, inference context, sparse kinds and strict coverage. Unknown scanner context skips affected X inputs with a warning; unrelated model errors remain strict. Version: 5.111.8. Fixes #573. Validation: - 384 focused policy, cache, model-inventory and native-conformance tests pass, including original offsets/flanks, asymmetric context, repeated peptides, multiple lengths/models, offline replay, strict/reportable cache misses and WT scans. - Shared CTA/gene/tissue/FASTA workflow tests cover all three policies. - Lint, strict documentation build and dependency checks pass. - Full `./test.sh`: **6,353 passed**, 94% coverage, in 691.28 seconds on `5a52d13b5`. - Release smoke preflight verifies default exclusions, X-free offsets/flanks, unchanged other ... (continued)
148 of 160 new or added lines in 6 files covered. (92.5%)
11670 of 12444 relevant lines covered (93.78%)
0.94 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 8 |
91.01
|
topiary/protein_inputs.py | |
| 2 |
93.22
|
0.08% | topiary/cached.py |
| 2 |
90.28
|
0.8% | topiary/protein_predictions.py |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 42687761754-1.1 | 67 |
93.78
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|