Description: thd_ttatlas_query.c allows custom atlas location not supported by @FindAfniDsetPath
  This patch simply searches $AFNI_TTATLAS_DATASET in addition to existing list
  of locations.
Author: Michael Hanke <michael.hanke@gmail.com>
Last-Update: 2011-01-17
--- a/@FindAfniDsetPath
+++ b/@FindAfniDsetPath
@@ -39,6 +39,11 @@ if ( $?AFNI_PLUGINPATH ) then
     set dataset_path = (${dataset_path} `echo $AFNI_PLUGINPATH | tr ':' ' '`)
 endif
 
+if ( $?AFNI_TTATLAS_DATASET ) then
+    set dataset_path = (${dataset_path} `echo $AFNI_TTATLAS_DATASET | tr ':' ' '`)
+endif
+
+
 foreach dir (${dataset_path})
     if ( `@CheckForAfniDset ${dir}/${ref_in}` == 2 ) then
 	echo $dir
