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

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-06-13 12:35:09+12:00
Desc:
Update the documentation
Permanent Source URI:
https://models.physiomeproject.org/workspace/83f/rawfile/309a2cd1708eb79e1e9f8b928b41c9d36bcb94fc/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)