Location: SinglePASMC @ b36899a7522a / Validation / preValidation.ps1

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-04 14:11:45+12:00
Desc:
update the cellML files (removed the BOM); add validation scripts
Permanent Source URI:
https://staging.physiomeproject.org/workspace/83f/rawfile/b36899a7522a109aa114e002c34247cb768ffaa7/Validation/preValidation.ps1

# The default Downloads path
$dpath= 'C:\Users\wai484\Downloads'
$mfile='PASMC_test'
# Move the file to the validation folder
$vpath= 'C:\Users\wai484\Documents\SinglePASMC\Validation'
Copy-Item -Path $dpath\$mfile.omex -Destination $vpath\$mfile.omex
# Unzip the file
Rename-Item -Path $vpath\$mfile.omex -NewName $vpath\$mfile.zip
#New-Item -Path $vpath\models -ItemType Directory
Expand-Archive -Force -LiteralPath $vpath\$mfile.zip -DestinationPath $vpath\models