From f6c27007d681e234db07ff40bf4ab3e4d5a4454a Mon Sep 17 00:00:00 2001 From: ivanPozdnyakov Date: Fri, 29 Jan 2016 13:33:46 -0500 Subject: [PATCH] spray fix --- VQI_PathwayEditorGUI.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/VQI_PathwayEditorGUI.js b/VQI_PathwayEditorGUI.js index 3e58515..68dabfe 100644 --- a/VQI_PathwayEditorGUI.js +++ b/VQI_PathwayEditorGUI.js @@ -681,22 +681,22 @@ var VQI_PathwayEditorGUI = function (parent) { for (var line = 1; line < lines.length; line++) { var target = cy.elements("node[name = \"" + lines[line][header["gene"]] + "\"]"); - if (typeof (header["Mut"]) != "undefined") { - Mut = lines[line][header["Mut"]]; + if (typeof (header["mut"]) != "undefined") { + Mut = lines[line][header["mut"]]; if (!isNaN(Mut)) target.data('Mut', Mut); else target.data('Mut', '0'); } - if (typeof (header["Cnv"]) != "undefined") { - Cnv = lines[line][header["Cnv"]]; + if (typeof (header["cnv"]) != "undefined") { + Cnv = lines[line][header["cnv"]]; if (!isNaN(Cnv)) target.data('Cnv', Cnv); else target.data('Cnv', '0'); } - if (typeof (header["Rna"]) != "undefined") { - Rna = lines[line][header["Rna"]]; + if (typeof (header["rna"]) != "undefined") { + Rna = lines[line][header["rna"]]; if (!isNaN(Rna)) target.data('Rna', Rna); else