-
Notifications
You must be signed in to change notification settings - Fork 10
Description
This may or may not be a duplicate of #420 but I'm submitting it separately since:
a) it occurs for the first example in the instructions page and hence seems especially problematic (of course, we could change the example)
b) the symptoms seem at least a bit different than those described in #420
In any case, the first example link on the gcv.legumeinfo.org instructions page is:
https://gcv.legumeinfo.org/gcv2/gene;lis=phavu.G19833.gnm2.ann1.Phvul.002G085200?algorithm=repeat&match=10&mismatch=-1&gap=-1&score=30&threshold=25&bmatched=20&bintermediate=10&bmask=10&bchrgenes=1&bchrlength=100000&linkage=average&cthreshold=20&neighbors=10&matched=4&intermediate=5&sources=lis&bregexp=&border=distance®exp=&order=distance
which produces console errors like:
main.63283a5153aeee51.js:11 ERROR RangeError: Invalid array length
at f (806.a1b5737695ca4fdd.js:1:218539)
at 806.a1b5737695ca4fdd.js:1:219046
at Array.forEach (<anonymous>)
at ew (806.a1b5737695ca4fdd.js:1:218774)
at $h (806.a1b5737695ca4fdd.js:1:219082)
at 806.a1b5737695ca4fdd.js:1:220420
at Array.forEach (<anonymous>)
at Q0 (806.a1b5737695ca4fdd.js:1:219944)
at sw (806.a1b5737695ca4fdd.js:1:222649)
at 806.a1b5737695ca4fdd.js:1:294374
note that in this case unlike #420 it seems that switching the alignment algorithm to SW doesn't help.
Possibly of note is the fact that just two tandem genes appear to get a color assignment before the error presumably interrupts the process of color assignment, and it seems that the error occurs only as long as both of these tandem genes are in the neighborhood, ie heading over to where only one of them is present seems to solve it:
https://gcv.legumeinfo.org/gcv2/gene;lis=phavu.G19833.gnm2.ann1.Phvul.002G085600?algorithm=smith-waterman&match=10&mismatch=-1&gap=-1&score=30&threshold=25&bmatched=20&bintermediate=10&bmask=10&bchrgenes=1&bchrlength=100000&linkage=average&cthreshold=20&neighbors=10&matched=4&intermediate=5&sources=lis&bregexp=&border=distance®exp=&order=distance
but that is the first gene in the vicinity that works as expected.