UCL / STIR-GATE-Connection

Example files on how to run STIR on GATE data
16 stars 11 forks source link

ComputePoissonDataCorrections will fail if not called from `VoxelisedSimulation` directory #72

Closed robbietuk closed 3 years ago

robbietuk commented 3 years ago

This is because of https://github.com/UCL/STIR-GATE-Connection/blob/9872569d013326919ac4a0681114fad3ff07b12b/VoxelisedSimulation/SubScripts/ComputePoissonDataCorrections.sh#L104

The fix for this is possibly to introduce an enviromental variable, e.g. ${SGCPATH} or ${SGC_HOME} and then set all SGC paths from this location. This will allow the SGC scripts to be run out of the SGC project. Related to #56 (item 3)

robbietuk commented 3 years ago

Temp fix by: https://github.com/UCL/STIR-GATE-Connection/commit/9e2d6fc55372dc43894c4365a073a939b3354d2c