Skip to content

fix: use na_rep instead of string 'None' for missing score and count data in CSV export#661

Open
bencap wants to merge 2 commits intorelease-2026.1.1from
bugfix/bencap/636/na-rep-not-applying-to-scores-or-counts
Open

fix: use na_rep instead of string 'None' for missing score and count data in CSV export#661
bencap wants to merge 2 commits intorelease-2026.1.1from
bugfix/bencap/636/na-rep-not-applying-to-scores-or-counts

Conversation

@bencap
Copy link
Collaborator

@bencap bencap commented Feb 17, 2026

The scores and counts loops in variant_to_csv_row were calling str() on None values without a null check, producing the literal string "None" instead of the na_rep value ("NA"). Other column handlers (core, mavedb, vep, gnomad, clingen) already had null checks — this adds the same is_null guard to scores and counts.

Additionally, bumps Pandas to >=2.2 to resolve issues with removed setup_tools libs.

…data in CSV export

The scores and counts loops in variant_to_csv_row were calling str() on
None values without a null check, producing the literal string "None"
instead of the na_rep value ("NA"). Other column handlers (core, mavedb,
vep, gnomad, clingen) already had null checks — this adds the same
is_null guard to scores and counts.
@bencap bencap requested review from jstone-dev and sallybg February 17, 2026 23:25
@bencap bencap linked an issue Feb 17, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NA Representation not Applying to Score/Count CSVs

1 participant

Comments