File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -567,19 +567,19 @@ def variant_to_csv_row(
567567 elif column_key == "accession" :
568568 value = str (variant .urn )
569569 elif column_key == "post_mapped_hgvs_g" :
570- value = str (mapping .hgvs_g ) if mapping and mapping .hgvs_g else ""
570+ value = str (mapping .hgvs_g ) if mapping and mapping .hgvs_g else na_rep
571571 elif column_key == "post_mapped_hgvs_p" :
572- value = str (mapping .hgvs_p ) if mapping and mapping .hgvs_p else ""
572+ value = str (mapping .hgvs_p ) if mapping and mapping .hgvs_p else na_rep
573573 elif column_key == "post_mapped_hgvs_c" :
574- value = str (mapping .hgvs_c ) if mapping and mapping .hgvs_c else ""
574+ value = str (mapping .hgvs_c ) if mapping and mapping .hgvs_c else na_rep
575575 elif column_key == "post_mapped_hgvs_at_assay_level" :
576- value = str (mapping .hgvs_assay_level ) if mapping and mapping .hgvs_assay_level else ""
576+ value = str (mapping .hgvs_assay_level ) if mapping and mapping .hgvs_assay_level else na_rep
577577 elif column_key == "vep_functional_consequence" :
578578 vep_functional_consequence = mapping .vep_functional_consequence if mapping else None
579579 if vep_functional_consequence is not None :
580580 value = vep_functional_consequence
581581 else :
582- value = ""
582+ value = na_rep
583583 else :
584584 parent = variant .data .get (dtype ) if variant .data else None
585585 value = str (parent .get (column_key )) if parent else na_rep
You can’t perform that action at this time.
0 commit comments