@DanLesperance reported this bug to me and it only occurred in the single-gene curator.
I traced the code to some "overcrowding" warning I added about 7 months ago. However that code never executed because the JS was looking for elements under class .js_plot_req but they were named .js-plot-req in the HTML. When snake case was converted to kebab case for many scripts a month ago, this code finally started finding matches by class and executing but the logic was broken.
On the side I also fixed an encoding error I was encountering when loading JSON from geardb.py by forcing it to load as "utf-8 encoding".
@DanLesperance reported this bug to me and it only occurred in the single-gene curator.
I traced the code to some "overcrowding" warning I added about 7 months ago. However that code never executed because the JS was looking for elements under class
.js_plot_req
but they were named.js-plot-req
in the HTML. When snake case was converted to kebab case for many scripts a month ago, this code finally started finding matches by class and executing but the logic was broken.On the side I also fixed an encoding error I was encountering when loading JSON from geardb.py by forcing it to load as "utf-8 encoding".