Skip to content

Commit

Permalink
Fixed: Added check whether func field exists in cat_vol_slice_overlay.m.
Browse files Browse the repository at this point in the history
Fixed: Corrected error in cat_stat_homogeneity that sometimes ocurred after
       removing files from list.

Changed paths:
 M CHANGES.txt
 M cat_stat_homogeneity.m
 M cat_vol_slice_overlay.m
 M standalone/cat_standalone.sh
  • Loading branch information
ChristianGaser committed Apr 25, 2024
1 parent 56d0095 commit 3bb7a61
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
3 changes: 2 additions & 1 deletion cat_stat_homogeneity.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cat_vol_slice_overlay.m
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down
2 changes: 1 addition & 1 deletion standalone/cat_standalone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bb7a61

Please sign in to comment.