...
 
Commits (3)
......@@ -34,3 +34,4 @@ node_modules/
package-lock\.json
sencha-error-*
docs/
......@@ -7,7 +7,7 @@
/**
* The version of the application.
*/
"version": "3.0.13",
"version": "3.0.14",
/**
* The relative path to the application's markup file (html, jsp, asp, etc.).
......
......@@ -20,7 +20,7 @@ Ext.define('metExploreViz.view.form.label.LabelController', {
var session = _metExploreViz.getSessionById('viz');
var metabKeys;
metabKeys = Object.keys(session.getD3Data().getNodes().filter(n => n.getBiologicalType() === view.aStyleFormParent.biologicalType)[0]);
metabKeys = Object.keys(session.getD3Data().getNodes().filter(function(n) {return n.getBiologicalType() === view.aStyleFormParent.biologicalType[0];}));
metabKeys = metabKeys.filter(function(key){
return key!=="isSideCompound" && key!=="reactionReversibility" && key!=="reactionReversibility" && key!=="selected" && key!=="duplicated" && key!=="labelVisible" &&
......
......@@ -40,9 +40,11 @@ Ext.define('metExploreViz.view.form.selectMappingForExtraction.SelectMappingForE
.filter(function(node){ return node.mappingDatas.length!==0;})
.filter(function (node) {
return node.getMappingDatas()
.filter(map => selectedMappings.includes(map.getMappingName())).length !==0;
.filter(function(map) { return selectedMappings.includes(map.getMappingName()); }).length !==0;
})
.map(node => node.getId());
.map(function (node) {
return node.getId();
});
metExploreD3.GraphFunction.keepOnlySubnetwork(nodesToLinks);
}
......