Open gdevenyi opened 6 years ago
the idea was to have separate data packages from binary toolkit package, so that several minc-toolkit packages could co-exist without duplicting heavy packages with templates and stuff.
In that case appending the share directory into the minc-toolkit config file is probably the right solution
can minc-tools handle multiple paths in MNI_DATAPATH ?
it appears the MNI perl libs don't have an issue, I had ILT failing, appended to the environment variable, and then ILT worked. It leverages the MNI_DATAPATH perl bits, so it seems okay.
Any suggestions for other apps to test to confirm?
Looks like should be
use MNI::DataDir;
$ModelDir = MNI::DataDir::dir('icbm152_model_09c');
To take advantage of the MNI Perllibs support
I'll grep through and do some patches to fix the improper use of the the DATAPATH variable directory
Fixed pipeline with https://github.com/BIC-MNI/bic-pipelines/pull/6
ILT share is still in /opt/minc/1.9.16/share/ILT while only /opt/minc/share is in MNI_DATAPATH.
Not sure if this should be fixed here or in the packaging?