Location: SinglePASMC @ 6faa0a116bf5 / Validation / preValidation.ps1

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-16 13:05:06+12:00
Desc:
Add a merge script and update accordingly
Permanent Source URI:
https://staging.physiomeproject.org/workspace/83f/rawfile/6faa0a116bf580ae9d540acf373964443baa8924/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