Commit a0a8971e authored by Jay's avatar Jay
Browse files

v1.14.5

-- fnirs course 2019 People were seeing issue on mac with a locked groupResults.mat file not having write permissions because they were using the EXIRCISE from a read-only dropbox folder. This gives a warning that homer cannot save computation output to groupResults.mat file because there's no write permissions instead of letting matlab throw an exception
parent c81821d1
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -576,7 +576,15 @@ classdef GroupClass < TreeNodeClass
            fprintf('Saving processed data in groupResults.mat\n');
            t_local = tic;
            group = GroupClass(obj);
            try 
                save( './groupResults.mat','group' );
            catch
                msg{1} = sprintf('WARNING: Could not save computation output to groupResults.mat file in the subject folder\n\n');
                msg{2} = sprintf('%s\n\n', pwd);
                msg{3} = sprintf('This could be because the file or the subject folder itself is read-only.');
                msg{4} = sprintf('To fix this change groupResults.mat file write permissions to read/write.');
                MessageBox([msg{:}]);
            end            
            fprintf('Completed saving groupResults.mat in %0.3f seconds.\n', toc(t_local));
        end
        
+1 −1
Original line number Diff line number Diff line
@@ -2,5 +2,5 @@ function vrnnum = getVernum()

vrnnum{1} = '1';   % Major version #
vrnnum{2} = '14';  % Major sub-version #
vrnnum{3} = '4';   % Minor version #
vrnnum{3} = '5';   % Minor version #
vrnnum{4} = '0';   % Minor sub-version # or patch #: 'p1', 'p2', etc