Location: cellLib @ 71a79f4273eb / Scripts / txt2cellml.ps1

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-04-22 10:49:38+12:00
Desc:
Remove interactive labeling; Specify index when using intersect to avoid order errors add buildComponents.m to wrap multiple building processes;
Permanent Source URI:
https://staging.physiomeproject.org/workspace/6bc/rawfile/71a79f4273ebfe232057a071766138694777ab84/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
}