Location: cellLib @ 4f2e241af0f1 / Scripts / txt2cellml.ps1
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-04-21 11:56:18+12:00
- Desc:
- Further automate the mapping process
- Permanent Source URI:
- https://staging.physiomeproject.org/workspace/6bc/rawfile/4f2e241af0f1dbffded70d0aa6b23e73e5f06b01/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
}
