Skip to content

Commit

Permalink
- rewrite parts of parseBlastText: fixes sing-group#7
Browse files Browse the repository at this point in the history
- improve how alignment is displayed: Next HSP button doesn't change div height anymore
- update html2canvas, improve error message
- remove JPG download
- update css: change scroll container, button placement
  • Loading branch information
MrTomRod committed Aug 10, 2022
1 parent 20ad5fd commit c322983
Show file tree
Hide file tree
Showing 7 changed files with 127 additions and 3,062 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Install the module with: `npm install biojs-vis-blasterjs`
<div id="blast-alignments-table"></div>
<div id="blast-single-alignment"></div>
...
<script type="text/javascript" src="js/html2canvas.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
<script type="text/javascript" src="js/blaster.js"></script>
<script type="text/javascript">
Expand Down
3 changes: 1 addition & 2 deletions examples/demo_nucleotides.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="icon" href="data:,">

<!-- blasterjs -->
<script src="../lib/html2canvas.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
<script src="../build/blasterjs.js"></script>
<link rel="stylesheet" type="text/css" href="../css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="../css/blasterjs-colors-nucleotides.css"/>
Expand Down Expand Up @@ -36,7 +36,6 @@
singleAlignment: "blast-single-alignment",
})
})

}

blast()
Expand Down
3 changes: 1 addition & 2 deletions examples/demo_nucleotides_text.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="icon" href="data:,">

<!-- blasterjs -->
<script src="../lib/html2canvas.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
<script src="../build/blasterjs.js"></script>
<link rel="stylesheet" type="text/css" href="../css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="../css/blasterjs-colors-nucleotides.css"/>
Expand Down Expand Up @@ -36,7 +36,6 @@
singleAlignment: "blast-single-alignment",
})
})

}

blast()
Expand Down
3 changes: 1 addition & 2 deletions examples/demo_protein.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="icon" href="data:,">

<!-- blasterjs -->
<script src="../lib/html2canvas.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script>
<script src="../build/blasterjs.js"></script>
<link rel="stylesheet" type="text/css" href="../css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="../css/blasterjs-colors-proteins.css"/>
Expand Down Expand Up @@ -36,7 +36,6 @@
singleAlignment: "blast-single-alignment",
})
})

}

blast()
Expand Down
10 changes: 0 additions & 10 deletions examples/example.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,3 @@
padding-top: 0 !important;
width: 100% !important;
}

#blast-single-alignment-pre {
padding: 0 !important;
color: #0d1318;
}

#query {
word-wrap: anywhere;
font-family: mono;
}
Loading

0 comments on commit c322983

Please sign in to comment.