Location: SLC transporters @ 4c70c12474d3 / src / sim_SGLT1.py

Author:
Weiwei Ai <wai484@aucklanduni.ac.nz>
Date:
2024-05-08 11:31:07+12:00
Desc:
Add sedml and scripts for SGLT1
Permanent Source URI:
https://models.physiomeproject.org/workspace/b65/rawfile/4c70c12474d3ae6c1f083145619576bfaf426439/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)