3 define PrependPackageDataPath util
4 author "laurent.guigues at creatis.insa-lyon.fr"
5 description "Prepends the input file name 'In' with the path to the data directory of the package 'Package'"
8 # For getting bbtk Data Path
11 # For making a full path name, avoiding troubles with / or \
15 connect c.DataPath mfn1.Directory
16 connect mfn1.Out mfn2.Directory
19 input In mfn2.File "Last Filename"
20 input Package mfn1.File "Package name"
21 output Out mfn2.Out "Full path Filename"