ModellingWebLab / WebLab

Django-based front-end for the modelling Web Lab v2
Other
3 stars 2 forks source link

Switching graphs in model comparison mode causes JS error #399

Closed MichaelClerx closed 2 years ago

MichaelClerx commented 2 years ago

Steps to recreate:

  1. Go to any page showing results for more than one model, e.g. https://scrambler.cs.ox.ac.uk/experiments/compare/33303/33373/show/outputs_I__Na__for_activation_IV_protocol_gnuplot_data.csv/displayPlotFlot
  2. Open the developer console
  3. Try switching graphs
Uncaught TypeError: graphGlobal[prefix] is undefined
    parseUrl compare.js:581
    nextPage compare.js:19
    registerFileDisplayer compare.js:26
compare.js:581

Screenshot from 2022-03-22 15-22-31

MichaelClerx commented 2 years ago

Fixed by @MauriceHendrix !