Skip to content

Commit bb00760

Browse files
author
martina
committed
update project
1 parent e75ed9a commit bb00760

3 files changed

Lines changed: 4 additions & 443 deletions

File tree

README.md

Lines changed: 0 additions & 117 deletions
This file was deleted.

src/lib/proseqviewer.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {PatternsModel} from './patterns.model';
1010
import {InputModel} from './input.model';
1111
import {ConsensusModel} from './consensus.model';
1212

13-
export class ProSeqViewer {
13+
export class Proseqviewer {
1414
static sqvList = [];
1515
divId: string;
1616
init: boolean;
@@ -40,7 +40,7 @@ export class ProSeqViewer {
4040
this.events = new EventsModel();
4141

4242
window.onresize = () => {
43-
for (const id of ProSeqViewer.sqvList) {
43+
for (const id of Proseqviewer.sqvList) {
4444

4545
const sqvBody = document.getElementById(id);
4646
if (!sqvBody) { Log.w(1, 'Cannot find sqv-body element.'); continue; }
@@ -70,7 +70,7 @@ export class ProSeqViewer {
7070

7171
public draw(input1?, input2?, input3?, input4?, input5?, input6?, input7?) {
7272

73-
ProSeqViewer.sqvList.push(this.divId);
73+
Proseqviewer.sqvList.push(this.divId);
7474

7575
let inputs;
7676
let order;
@@ -187,6 +187,7 @@ export class ProSeqViewer {
187187
let chunkTopIndex;
188188
if (x % chunkSize === 0 && x <= maxTop) {
189189
chunkTopIndex = `<span class="cell" style="-webkit-user-select: none;direction: rtl;display:block;width:0.6em;margin-bottom:${rowMarginBottom}">${x}</span>`;
190+
190191
} else {
191192
chunkTopIndex = `<span class="cell" style="-webkit-user-select: none;display:block;visibility: hidden;margin-bottom:${rowMarginBottom}">0</span>`;
192193
}

0 commit comments

Comments
 (0)