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

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-16 13:05:06+12:00
Desc:
Add a merge script and update accordingly
Permanent Source URI:
https://models.physiomeproject.org/workspace/83f/rawfile/6faa0a116bf580ae9d540acf373964443baa8924/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)