Skip to content

Commit

Permalink
Update FuSViz.js
Browse files Browse the repository at this point in the history
  • Loading branch information
senzhaocode authored Jan 1, 2025
1 parent 04bbfdb commit 38e1dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/htmlwidgets/FuSViz.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Shiny.addCustomMessageHandler("TrackinBAM",
if ( bam.endsWith(".bam") && bamindex.endsWith(".bam.bai") ) { // BAM format
bam_name = bam.split(/\/|\\/).pop();
bam_type = "bam";
} else if ( bam.endsWith(".bam.cram") && bamindex.endsWith(".bam.cram.crai") ) { // CRAM format
} else if ( bam.endsWith(".cram") && bamindex.endsWith(".cram.crai") ) { // CRAM format
bam_name = bam.split(/\/|\\/).pop();
bam_type = "cram";
} else {
Expand Down

0 comments on commit 38e1dbe

Please sign in to comment.