zakandrewking / escher

Build, share, and embed visualizations of metabolic pathways.
https://escher.github.io
Other
210 stars 78 forks source link

Using my own metabolic map that I drew on escher #345

Open abshah1 opened 3 years ago

abshah1 commented 3 years ago

Hi, So I am attempting to do FBA using a python code on Jupyter notebook. I have built my own metabolic map using esher but have run into issues when trying to input this map within the code as I cannot download it from escher. Are there ways to use my map without having to upload to escher? If not how do I upload to escher? Any help would be greatly appreciated. Thanks.

jacobmartin2022 commented 3 years ago

In the Escher web browser, save your map as a json, then in python, do

builder = Builder()
builder.map_json = 'my_json_file.json'