Skip to content

Commit

Permalink
Data paths are now relative. Helper start_vps script loads state
Browse files Browse the repository at this point in the history
  • Loading branch information
rhancockn committed Jan 17, 2018
1 parent a8bc90e commit d088c6c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions start_vps
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

#This should be the full path to the ParaView app
#Must end in .app
PVAPP=/Applications/ParaView-5.4.1.app


BASE="$( cd "$(dirname "$0")" ; pwd -P )"
cd $BASE
PVCMD="$PVAPP/Contents/MacOS/paraview"

`$PVCMD --state=vps.pvsm`
8 changes: 4 additions & 4 deletions vps.pvsm
Original file line number Diff line number Diff line change
Expand Up @@ -51436,7 +51436,7 @@
</Proxy>
<Proxy group="sources" type="NIfTIReader" id="5220" servers="1">
<Property name="FileName" id="5220.FileName" number_of_elements="1">
<Element index="0" value="/Users/rhancock/mrs_voxel_positioning/data/templates/anat.nii"/>
<Element index="0" value="data/templates/anat.nii"/>
<Domain name="files" id="5220.FileName.files"/>
</Property>
</Proxy>
Expand Down Expand Up @@ -51592,19 +51592,19 @@
</Proxy>
<Proxy group="sources" type="NIfTIReader" id="5353" servers="1">
<Property name="FileName" id="5353.FileName" number_of_elements="1">
<Element index="0" value="/Users/rhancock/mrs_voxel_positioning/data/templates/atlas.nii"/>
<Element index="0" value="data/templates/atlas.nii"/>
<Domain name="files" id="5353.FileName.files"/>
</Property>
</Proxy>
<Proxy group="sources" type="NIfTIReader" id="5287" servers="1">
<Property name="FileName" id="5287.FileName" number_of_elements="1">
<Element index="0" value="/Users/rhancock/mrs_voxel_positioning/data/templates/b0.nii"/>
<Element index="0" value="data/templates/b0.nii"/>
<Domain name="files" id="5287.FileName.files"/>
</Property>
</Proxy>
<Proxy group="sources" type="NIfTIReader" id="7280" servers="1">
<Property name="FileName" id="7280.FileName" number_of_elements="1">
<Element index="0" value="/Users/rhancock/mrs_voxel_positioning/data/templates/tissue.nii"/>
<Element index="0" value="data/templates/tissue.nii"/>
<Domain name="files" id="7280.FileName.files"/>
</Property>
</Proxy>
Expand Down

0 comments on commit d088c6c

Please sign in to comment.