diff --git a/CHANGES.txt b/CHANGES.txt index ee3276e8..a8683ad6 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,16 @@ ------------------------------------------------------------------------ +r2574 | gaser | 2024-04-25 09:55:51 + +Changed paths: + M CHANGES.txt + M cat_stat_homogeneity.m + M cat_vol_slice_overlay.m + M standalone/cat_standalone.sh + +Fixed: Added check whether func field exists in cat_vol_slice_overlay.m. +Fixed: Corrected error in cat_stat_homogeneity that sometimes ocurred after + removing files from list. +------------------------------------------------------------------------ r2573 | dahnke | 2024-04-17 17:58:34 Changed paths: diff --git a/cat_stat_homogeneity.m b/cat_stat_homogeneity.m index b1040b55..086d18a7 100644 --- a/cat_stat_homogeneity.m +++ b/cat_stat_homogeneity.m @@ -1289,7 +1289,8 @@ function show_QMzscore(X, sel, quality_order) H.C = zeros(length(H.xml.QMzscore),3); for i=1:length(H.xml.QMzscore) - H.C(i,:) = H.cmap(round(QMzscore_scaled(i))+1,:); + indc = min(128,round(QMzscore_scaled(i))+1); + H.C(i,:) = H.cmap(indc,:); end % create marker for different samples diff --git a/cat_vol_slice_overlay.m b/cat_vol_slice_overlay.m index 4070d666..fc23a6e6 100644 --- a/cat_vol_slice_overlay.m +++ b/cat_vol_slice_overlay.m @@ -188,7 +188,7 @@ [mx, mn, XYZ, img2] = volmaxmin(SO.img(2).vol); % apply function to img2 - i1 = img2; eval(OV.func); img2 = i1; + if isfield(OV,'func'), i1 = img2; eval(OV.func); img2 = i1; end % threshold map and restrict coordinates Q = find(compare_to_threshold(img2,range(1)) & le(img2,range(2))); diff --git a/standalone/cat_standalone.sh b/standalone/cat_standalone.sh index c7694c9c..ae3385d4 100755 --- a/standalone/cat_standalone.sh +++ b/standalone/cat_standalone.sh @@ -401,7 +401,7 @@ USAGE: license, this has the advantage that you can use the same scripts as for the standalone version, but you can run CAT12 without a GUI. Please note that standalone batches must be called in CAT12 expert mode. Of course, you can also create and use your own batches that you use regulary in CAT12 or - SPM12. With this script you canrun these batches in headless mode without any display. + SPM12. With this script you can run these batches in headless mode without any display. PURPOSE: Command line call of (CAT12) batch files for SPM12 standalone installation