diff --git a/app/js/app-cy.js b/app/js/app-cy.js index f5f205f6..8ceafa56 100644 --- a/app/js/app-cy.js +++ b/app/js/app-cy.js @@ -660,7 +660,6 @@ module.exports = function (chiseInstance) { }); */ } else{ - console.log("source in newt", source) chiseInstance.addEdge(source, target, edgeParams, promptInvalidEdge); var addedEdge = cy.elements()[cy.elements().length - 1]; var currentArrowScale = Number($('#arrow-scale').val()); diff --git a/app/js/app-menu.js b/app/js/app-menu.js index eac9c628..9c6bf08e 100644 --- a/app/js/app-menu.js +++ b/app/js/app-menu.js @@ -236,12 +236,10 @@ module.exports = function() { var sbgnORsbml = appUtilities.filterMapTypeProperty(urlParams); if(sbgnORsbml == "true") { - console.log("sbml") sbmlProperty.sbmlMap = true } else { - console.log("sbgn") sbmlProperty.sbmlMap = false } @@ -504,7 +502,6 @@ module.exports = function() { }); $("#import-SBML-file").click(function () { - console.log("importing sbml file") $("#sbml-file").trigger('click'); }); @@ -1206,7 +1203,6 @@ module.exports = function() { success: function (data) { // If response returns error display the message if(data.name==='Error' || data.error || data.name==='error'){ - console.log(data); chiseSpinnerInstance.endSpinner("layout-spinner"); promtErrorPD2AF.render(data.message); }else{ @@ -1250,7 +1246,6 @@ module.exports = function() { } }, error: function (data) { - console.log(data); chiseSpinnerInstance.endSpinner("layout-spinner"); if(data.status == 0) promtErrorPD2AF.render("Server might be offline!"); @@ -1512,7 +1507,6 @@ module.exports = function() { if(cy.elements().length == 0) { return; } - console.log("layout-spinner") chiseInstance.startSpinner("layout-spinner") setTimeout(() => { @@ -1963,7 +1957,6 @@ module.exports = function() { // on active network tab change $(document).on('shown.bs.tab', '#network-tabs-list a[data-toggle="tab"]', function (e) { var target = $(e.target).attr("href"); // activated tab - console.log(target); appUtilities.setActiveNetwork(target); inspectorUtilities.handleSBGNInspector(); }); diff --git a/app/js/app-utilities.js b/app/js/app-utilities.js index 2c1a647d..a668ca6b 100644 --- a/app/js/app-utilities.js +++ b/app/js/app-utilities.js @@ -3067,8 +3067,6 @@ appUtilities.launchWithModelFile = function() { function loadFromURL(filepath, chiseInstance, promptInvalidURLWarning){ chiseInstance.startSpinner('paths-byURL-spinner'); - - console.log("loading form url") var loadCallbackSBGNMLValidity = function (text) { $.ajax({ @@ -3177,7 +3175,6 @@ appUtilities.launchWithModelFile = function() { }; }; var layoutBy = function() { appUtilities.triggerLayout(cyInstance, true); - console.log("in layoutBy") }; if (xmlObject.children.item(0).getAttribute('xmlns:celldesigner')) { await chiseInstance.loadCellDesigner(file, success = async function (data) { @@ -3200,7 +3197,6 @@ appUtilities.launchWithModelFile = function() { var sbgnOrSbml = sbmlProperty.sbmlMap; //True for sbml, false or undefined for sbgn // sbml file - console.log("loding sbml", typeof(sbgnOrSbml), sbgnOrSbml) if(sbgnOrSbml) { await chiseInstance.loadSbmlForSBML(file, success = async function (data){ @@ -3254,7 +3250,6 @@ appUtilities.launchWithModelFile = function() { } function loadFromURI(uri, chiseInstance, promptInvalidURIWarning){ - console.log("loading form uri") var queryURL = "http://www.pathwaycommons.org/pc2/get?uri=" + uri + "&format=SBGN"; @@ -3277,18 +3272,15 @@ appUtilities.launchWithModelFile = function() { $(document).trigger('sbgnvizLoadFile', [filename, cyInstance]); $(document).trigger('sbgnvizLoadFromURI', [filename, cyInstance]); chiseInstance.updateGraph(chiseInstance.convertSbgnmlToJson(xml, paramObj), undefined, currentLayoutProperties); - console.log("spinner ending") chiseInstance.endSpinner('paths-byURI-spinner'); $(document).trigger('sbgnvizLoadFileEnd', [filename, cyInstance]); } else { - console.log("spinner ending else") chiseInstance.endSpinner('paths-byURI-spinner'); promptInvalidURIWarning.render(); } }, error: function(xhr, options, err){ - console.log("spinner ending error") chiseInstance.endSpinner('paths-byURI-spinner'); promptInvalidURIWarning.render(); } }); diff --git a/app/js/backbone-views.js b/app/js/backbone-views.js index 2b06d354..6c6f51d0 100644 --- a/app/js/backbone-views.js +++ b/app/js/backbone-views.js @@ -2947,7 +2947,6 @@ var CommonStreamQueryView = Backbone.View.extend({ url: "/utilities/testURL", data: { url: queryURL }, success: function (data) { - console.log('recieved data:',data); if (!data.error && data.response.statusCode == 200) { if (data.response.body !== "") { var xml = $.parseXML(data.response.body); @@ -2994,7 +2993,6 @@ var CommonStreamQueryView = Backbone.View.extend({ chiseInstance.endSpinner("common-stream-spinner"); }, error: function (xhr, options, err) { - console.log(xhr,options,err); new PromptInvalidQueryView({ el: "#prompt-invalidQuery-table", }).render(); diff --git a/app/js/inspector-utilities.js b/app/js/inspector-utilities.js index 79bf8c27..c535d931 100644 --- a/app/js/inspector-utilities.js +++ b/app/js/inspector-utilities.js @@ -694,7 +694,6 @@ inspectorUtilities.handleSBGNInspector = function () { $("#sbgn-inspector-style-properties-panel").html(html); colorPickerUtils.bindPicker2Input('#inspector-fill-color', function() { - console.log("channging background") chiseInstance.changeData(selectedEles, 'background-color', $('#inspector-fill-color').val()); }); colorPickerUtils.bindPicker2Input('#inspector-border-color', function() { @@ -873,7 +872,6 @@ inspectorUtilities.handleSBGNInspector = function () { type: 'GET', data: {url: url}, success: function(data){ - console.log(data); // here we can get 404 as well, for example, so there are still error cases to handle if (!data.error && data.response.statusCode == 200 && typeof applyBackground === 'function') applyBackground(node, bgObj); @@ -1017,7 +1015,6 @@ inspectorUtilities.handleSBGNInspector = function () { else { hypothetical = false; } - console.log("sbgnclass", sbgnclass) var nameToVal = { 'width': selected.width(),