-
Notifications
You must be signed in to change notification settings - Fork 152
How to use convert_heatmaps.js converting Heatmap Data
convert_heatmaps.js
is a Node.js tool, which is designed to convert Quip2.0's heatmap to Quip3.0's heatmap.
prerequisite: Node.js -- How to install Node.js
step 1: Download convert_heatmaps.js
.
step 2: Create a new folder with two subfolders(input and output).
step 3: Put Quip2.0's heatmap JSON files into ./input
folder.
step 4: Open command-line/terminal. go to the new folder that you created. run node convert_heatmaps.js
.
.
├ input # Quip2.0's heatmap JSON files
├ output # convert result - quip3.0's heatmap JSON files
└ covert_heatmap.js # converter program
For converting the numerous heatmap JSON files, increasing the memory limit use command --max-old-space-size= 4096
(increase to 4GB). It can avoid the memory limit issue - FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
.