MD-Anderson-Bioinformatics / NG-CHM_GUI_BUILDER

Simple graphical builder for Next-Generation Clustered Heat Maps
GNU General Public License v2.0
1 stars 1 forks source link

Error generated when opening new panel with map containing ScatterPlot and some other features. #68

Closed jmelott closed 1 year ago

jmelott commented 1 year ago

Found in GUI Builder 2.21.3 w/ NG-CHM 2.23.5-build-13 Didn't happen just creating a map with a scatterplot covariate with sample matrix.

To reproduce: Open the attached map in the GUI builder (Probably have to go through viewer and select to upload all to builder.) matrix_11_2000_2000_samples_samples (2).ngchm.zip Open developer console.

Change summary panel to detail panel.

Attempt to open new panel below original detail panel on left. Following error message will appear in console. ngchmWidget-min.js?v…d45ae5da48dc8ba:408 Uncaught RangeError: Invalid array length at a.buildScatterBarPlotMatrix (ngchmWidget-min.js?v…e5da48dc8ba:408:185) at n.drawScatterBarPlotColClassBar (ngchmWidget-min.js?v…e5da48dc8ba:501:203) at ngchmWidget-min.js?v…ae5da48dc8ba:500:95 at Array.forEach () at n.detailDrawColClassBars (ngchmWidget-min.js?v…e5da48dc8ba:499:247) at n.getDetailHeatMap (ngchmWidget-min.js?v…e5da48dc8ba:457:438) at n.drawDetailHeatMap (ngchmWidget-min.js?v…e5da48dc8ba:451:433) at ngchmWidget-min.js?v…ae5da48dc8ba:448:99 

bmbroom commented 1 year ago

I can repeat this directly in the Viewer:

Can you move this bug to the viewer? (show stopper class)

jmelott commented 1 year ago

Moved to Viewer issue list.