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

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-17 17:40:20+12:00
Desc:
Update Lib
Permanent Source URI:
https://models.cellml.org/workspace/83f/rawfile/0f3476fab7603ad0094623e9c5df27484558dfd5/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)