Skip to content

Commit

Permalink
fix but preventing phosphosite table from loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar Wagih committed Sep 27, 2022
1 parent db277f8 commit 1dcff1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/color-seqs.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ function colorSequence(seq, position_and_char) {
// Offset for color
offset = 0;

lens = motifs_pos.length || 0
// For each motif position
for (var i = 0; i < motifs_pos.length; i++) {
for (var i = 0; i < lens; i++) {
// Current index
curr_index = i

Expand Down

0 comments on commit 1dcff1e

Please sign in to comment.