File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,10 @@ fn deletion_copy_number_display(
127127 if !matches ! ( manifest. spec. kind, Some ( bioscript_core:: VariantKind :: Deletion ) ) {
128128 return None ;
129129 }
130- if row. get ( "backend" ) . map ( String :: as_str) != Some ( "cram" ) {
130+ if !matches ! (
131+ row. get( "backend" ) . map( String :: as_str) ,
132+ Some ( "cram" | "bam" )
133+ ) {
131134 return None ;
132135 }
133136 if manifest. spec . reference . as_deref ( ) . unwrap_or_default ( ) . len ( ) <= 1 {
Original file line number Diff line number Diff line change @@ -435,7 +435,10 @@ pub(super) fn deletion_copy_number_display(
435435 if !matches ! ( manifest. spec. kind, Some ( VariantKind :: Deletion ) ) {
436436 return None ;
437437 }
438- if row. get ( "backend" ) . map ( String :: as_str) != Some ( "cram" ) {
438+ if !matches ! (
439+ row. get( "backend" ) . map( String :: as_str) ,
440+ Some ( "cram" | "bam" )
441+ ) {
439442 return None ;
440443 }
441444 if manifest. spec . reference . as_deref ( ) . unwrap_or_default ( ) . len ( ) <= 1 {
You can’t perform that action at this time.
0 commit comments