physimals / oxford_asl

A command line tool for quantification of perfusion from ASL data
Apache License 2.0
8 stars 7 forks source link

BF: console scripts #25

Closed pauldmccarthy closed 1 year ago

pauldmccarthy commented 1 year ago

Hi @mcraig-ibme, I've just come across a quirk in the oxford_asl build process - the oxford_asl_roi_stats and oxford_asl_hadamard_decode executables were not being created in $FSLDIR/bin/ due to a typo in setup.py.

I've also changed the python install command to set --prefix $[FSLDEVDIR], for local development (for FSL >= 6.0.6 releases) - if you add this sitecustomize.py file into your $FSLDIR/lib/pythonX.Y/site-packages/ directory, then $FSLDEVDIR/lib/pythonX.Y/site-packages/ to the fslpython module search path. This sitecustomize.py file does not get installed automatically at present (you can find a copy of it in $FSLDIR/etc/fslconf/), but we may update the fslinstaller.py script to do so at some point.

Thanks!

mcraig-ibme commented 1 year ago

Thanks for the fixes Paul, these scripts are rarely used but better to have them installed and working!