EZinterAgingDev0 debug

This commit is contained in:
2024-07-29 19:42:31 -04:00
parent 80aab5e486
commit 1ec1037c82
6 changed files with 485 additions and 566 deletions

View File

@@ -73,7 +73,7 @@ end
Exp(expN).htmapRFanswer= {'G','L'}; %ZoneData
if expType==1
Exp(expN).DexpType= 'single';
Exp(expN).DexpType='single';
% Test for Bad MP cell array (usually 384 [NaN}'s)
% replaced length(Exp(expN).Dexp(1).MP) with MPnum
@@ -86,65 +86,29 @@ if expType==1
end
end
% TODO don't want to cd here
try
cd(usrExpJobsDir);
catch
if ispc
cd(fullfile('C:\')); %end % \Easy\Experiments'));
else
cd(fullfile('/mnt/data/scans'))
end
end
datacursormode off;
if ispc
try
cd(usrExpJobsDir);
catch
cd(fullfile('C:\')); %end % \Easy\Experiments'));
end
else
try
cd(usrExpJobsDir);
catch
cd(fullfile('~'));
end
end
try
[openExpfile,openExppath] = uigetfile('.mat','Open Experiment folder and data storage .mat file name','MultiSelect','off')
catch ME
catchissue='Ln50'
ME
cd(w)
% Return without execution if user cancels or doesn't select a .mat file
try
if openExpfile==0 || scansDir==0
return
end
catch
end
%Return without execution if user cancels or doesn't select a .mat file
try
if openExpfile==0 || openExppath==0, cd(w), return, end
catch
end
if expN==1
if expN==1 || expN==2 || expN==3
orfLstSel=get(handles.GeneOrfTog,'value')
end
end
if expN==2
orfLstSel=get(handles.GeneOrfTog,'value')
end
if expN==3
orfLstSel=get(handles.GeneOrfTog,'value')
end
Exp(expN).Dexp(1).srtGnLst={('CheckMP/MPDMfile')};
Exp(expN).Dexp(1).srtOrfLst={('CheckMP/MPDMfile')};
set(handles.listboxGnOrf,'value',1) %Fix accomodation for bug in App Designer .. .wlapp converter 230906
set(handles.listboxGnOrf,'string',cellstr([{'Failed To Load'}; {' '}]));
%try
ExpOutmat= fullfile(openExppath,openExpfile);
ExpOutmat=fullfile(scansDir,openExpfile);
load(ExpOutmat);
cd(openExppath)
cd(scansDir)
cd ..;
resDir=pwd;
Exp(expN).Dexp(1).resDir=resDir;