Location: Single PASMC model (Gosak et al 2014) @ 887894c158d4 / Validation / vmodel.py

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-06-13 11:44:41+12:00
Desc:
Modify the intracelluar K from 4.7 mM to 5.9 mM
Permanent Source URI:
https://models.cellml.org/workspace/83f/rawfile/887894c158d460d4505bd3fb26d23a7b939ca442/Validation/vmodel.py

# importing modules
import sys as sys
import os 
# Getting the name of the directory where this file is present.
current = os.path.dirname(os.path.realpath(__file__))  # Validation
# Getting the parent directory name where the current directory is present.
parent = os.path.dirname(current) # SinglePASMC
# The path where the modelValidation.py is saved
fpath = parent + '\\cellLib\\Scripts'
# appending a path
sys.path.append(fpath)
import modelValidation
# The model file
mpath = current + '\\models\\Experiments'
cellmlfile = mpath+'\\PASMC_test.cellml'
print(mpath)
modelValidation.modelValidation(cellmlfile,mpath)