-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
Description
Although keep_orig=True is used when normalizing the data, and the JSON file contains the mat_orig data, the visualization does not show the original value.
In clustergrammer.js, from 297 - 308, the network_data.links is being created. Note, that while the .value (normalized value) is set, no .value_orig is set. In lines 365 - 369, the first links element is then checked to see if it contains a value_orig. Because no value_orig was set above, this is always false, and the config.keep_orig is set to false.
I updated my local copy to check:
if(_.has(config.network_data, 'mat_orig'))
if it does, then I go through the loop set with adding value_orig, else I go through the original 298-308 loop set.
Can you verify this bug?