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

Upload of data from Viewer to GUI Builder breaks at some size of data transfers. #44

Closed jmelott closed 1 year ago

jmelott commented 1 year ago

To reproduce:

Open Lake 2016 map. Zoom out detail panel to full map. Select most of the data.
Rows: 25,462, Columns: 2911 are enough to cause the error.

Right click on matrix in detail panel and select menu option "Upload selected NG-CHM data to builder. Also breaks for menu option "Upload all NGCHM-data to Builder".

Builder will open and start the upload process.

Established communication with source Collecting the NG-CHM data to upload.

Error in console: TransferData.js?v=NG-CHM%20GUI%202.21.1:116 RangeError: Invalid string length at Array.join () at addMatrixDataToForm (TransferData.js?v=NG-CHM%20GUI%202.21.1:376:48) at createUploadForm (TransferData.js?v=NG-CHM%20GUI%202.21.1:218:6) at uploadDataToBuilder (TransferData.js?v=NG-CHM%20GUI%202.21.1:144:19) at wrapUploadDataToBuilder (TransferData.js?v=NG-CHM%20GUI%202.21.1:113:12) at TransferData.js?v=NG-CHM%20GUI%202.21.1:105:6 wrapUploadDataToBuilder @ TransferData.js?v=NG-CHM%20GUI%202.21.1:116 await in wrapUploadDataToBuilder (async) (anonymous) @ TransferData.js?v=NG-CHM%20GUI%202.21.1:105 setTimeout (async) checkAllDataReceived @ TransferData.js?v=NG-CHM%20GUI%202.21.1:104 messageListener @ TransferData.js?v=NG-CHM%20GUI%202.21.1:81 postMessage (async) (anonymous) @ :8082/NG-CHM/javascript/Linkout.js:993 (anonymous) @ :8082/NG-CHM/javascr…atrixManager.js:707