File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1363,9 +1363,9 @@ <h3>Comments (<span class="commentsCountVar"></span>)</h3>
13631363 type :"string" ,
13641364 renderConfig : {
13651365 default : ( data ) => {
1366- hgvs_split = String ( data ) . split ( ":" ) ;
1366+ hgvs_split = String ( data ) . split ( ":p. " ) ;
13671367 if ( hgvs_split . length > 1 ) {
1368- return hgvs_split [ 1 ] ;
1368+ return `p.( ${ hgvs_split [ 1 ] } )` ;
13691369 }
13701370 return ""
13711371 } ,
@@ -1655,7 +1655,7 @@ <h3>Comments (<span class="commentsCountVar"></span>)</h3>
16551655 if ( isNaN ( parseFloat ( family . allelic_depth ) ) && isNaN ( parseFloat ( family . allelic_frequency ) ) ) {
16561656 return "NA"
16571657 }
1658- const af = ( isNaN ( parseFloat ( family . allelic_frequency ) ) ) ? ( ( parseFloat ( family . allelic_depth ) / parseFloat ( family . allelic_frequency ) ) * 100 ) . toFixed ( 2 ) : '' ;
1658+ const af = ( isNaN ( parseFloat ( family . allelic_frequency ) ) ) ? ( ( parseFloat ( family . allelic_depth ) / parseFloat ( family . allelic_frequency ) ) * 100 ) . toFixed ( 2 ) : parseFloat ( family . allelic_frequency ) . toFixed ( 2 ) ;
16591659 return `[${ family . filter } ] ${ af } (${ family . allelic_depth } /${ family . depth } )` ;
16601660 } ,
16611661 }
You can’t perform that action at this time.
0 commit comments