Location: SLC transporters @ de5db6ae42f5 / src / sim_SGLT1.py

Author:
Weiwei Ai <wai484@aucklanduni.ac.nz>
Date:
2024-05-23 13:59:34+12:00
Desc:
Add original data; change to relative path; format the axis labels;
Permanent Source URI:
https://models.physiomeproject.org/workspace/b65/rawfile/de5db6ae42f57e8a5cb7b4e1aec24803b1483fc4/src/sim_SGLT1.py

import sys
sys.path.append('../sedCellMLPy/')
from sedCollector import read_sedml
from sedExecutor import exec_sed_doc
from pathlib import Path

path_='../Electrogenic cotransporter/CellMLV2/'
working_dir=Path(path_).absolute()
sedFiles=['SGLT1_ss','SGLT1_ss_fast','SGLT1_BG','SGLT1_BG_ss']

for sedFile in sedFiles:
    full_path=path_+sedFile+'.sedml'
    doc=read_sedml(full_path)
    exec_sed_doc(doc, working_dir, working_dir, rel_out_path='sim_results', external_variables_info={},
                  external_variables_values=[],ss_time={},cost_type=None)