Skip to content

Commit

Permalink
SBML infer nesting if there is layout information iVis-at-Bilkent/new…
Browse files Browse the repository at this point in the history
  • Loading branch information
umut-er committed Aug 10, 2024
1 parent 1700c08 commit 103a913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sbgnviz.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/utilities/sbml-to-json-converter-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ module.exports = function () {

var inferNestingOnLoad = options.inferNestingOnLoad;
inferNestingOnLoad = typeof inferNestingOnLoad === 'function' ? inferNestingOnLoad.call() : inferNestingOnLoad;
if(inferNestingOnLoad)
if(layout)
sbmlToJson.inferNestingOnLoadSBML(cytoscapeJsNodes, containerNodeMap);

let result = resultJson;
Expand Down

0 comments on commit 103a913

Please sign in to comment.