Location: SinglePASMC @ 7008ad73e8ef / Validation / vmodel.py

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-17 17:42:12+12:00
Desc:
update lib
Permanent Source URI:
https://staging.physiomeproject.org/workspace/83f/rawfile/7008ad73e8ef3da16618a12878c14b5557955ace/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)