Skip to content

Commit

Permalink
Merge pull request #318 from eweitz/refine-gene-splice-ui
Browse files Browse the repository at this point in the history
Highlight, navigate, and summarize transcript subparts
  • Loading branch information
eweitz committed Oct 1, 2022
2 parents f1b050b + 0c48134 commit 6c0acb4
Show file tree
Hide file tree
Showing 8 changed files with 605 additions and 67 deletions.
1 change: 1 addition & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = function(config) {
'test/offline/**.test.js',
'test/online/**.test.js',
// 'test/online/related-genes.test.js',
// 'test/offline/gene-structure.test.js',
{pattern: 'dist/data/**', watched: false, included: false, served: true, nocache: false}
],

Expand Down
2 changes: 1 addition & 1 deletion src/js/annotations/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function getContentAndYOffset(annot, includeLength=false) {
range += '-' + annot.stop.toLocaleString();
if (includeLength) range += ' (' + getCoarseBpLength(annot) + ')';
}
content = range;
content = `<span class="_ideoTooltipFooter">${range}</span>`;
yOffset = 24;

if (annot.name) {
Expand Down
2 changes: 1 addition & 1 deletion src/js/annotations/labels.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function fillAnnotLabels(sortedAnnots=[]) {
const layout = getAnnotLabelLayout(annot, ideo);

if (layout === null) {
console.log(annot.name + ' has null layout')
console.debug(annot.name + ' has null layout')
return;
}

Expand Down
Loading

0 comments on commit 6c0acb4

Please sign in to comment.