- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-04-14 19:01:18+12:00
- Desc:
- Add readComp to create comp from the existing model file;
correct updataVIO;
modelValidation.py for validating model using cellML2.0 lib
txt2cellml.psl for convert .txt files to .cellml files
- Permanent Source URI:
- https://models.cellml.org/workspace/6bc/rawfile/0dac5431120e7f9a1629e94034b7751917919b43/Scripts/txt2cellml.ps1
## Convert .txt to .cellml
# go to the OpenCOR folder
$dpath= ''
cd $dpath
# model path
$mpath=''
$txtfiles="Para","PASMC"
foreach ($txtfile in $txtfiles)
{
./OpenCOR -c CellMLTextView::export $mpath\$txtfile.txt | out-file $mpath\$txtfile.cellml -encoding utf8
}