diff --git a/jobs/tcgascope.js b/jobs/tcgascope.js index 49dd529..4ed3116 100644 --- a/jobs/tcgascope.js +++ b/jobs/tcgascope.js @@ -611,8 +611,8 @@ openHealth.require('https://mathbiol.github.io/openHealth/tcga/tcga.js',function // check DxImages available already if(!openHealth.tcga.dt.lggDx){ openHealth.getText('https://sbu-bmi.github.io/appliedApps/lgg_patientids.json',function(x){ - x=x.replace(/}/g,'},') - x='['+x.slice(0,-2)+']' + //x=x.replace(/}/g,'},') + //x='['+x.slice(0,-2)+']' x=JSON.parse(x.replace(/\'/g,'"')) var y = {} // index of diagnostic images per patient x.map(function(xi){ @@ -999,8 +999,8 @@ openHealth.require('https://mathbiol.github.io/openHealth/tcga/tcga.js',function // check DxImages available already if(!openHealth.tcga.dt.lggDx){ openHealth.getText('https://sbu-bmi.github.io/appliedApps/lgg_patientids.json',function(x){ - x=x.replace(/}/g,'},') - x='['+x.slice(0,-2)+']' + //x=x.replace(/}/g,'},') + //x='['+x.slice(0,-2)+']' x=JSON.parse(x.replace(/\'/g,'"')) var y = {} // index of diagnostic images per patient x.map(function(xi){ @@ -1343,4 +1343,4 @@ openHealth.require('https://mathbiol.github.io/openHealth/tcga/tcga.js',function -}) \ No newline at end of file +})