Location: SinglePASMC @ 7008ad73e8ef / Validation / preValidation.ps1

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-17 17:42:12+12:00
Desc:
update lib
Permanent Source URI:
https://staging.physiomeproject.org/workspace/83f/rawfile/7008ad73e8ef3da16618a12878c14b5557955ace/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