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

@@ -8,23 +8,8 @@ global Expbb
global exDlst
global exFolder
%Test for Bad MP cell array (usually 384 [NaN}'s)
%replaced length(Exp(expN).Dexp(1).MP) with MPnum
%{
for mx=1:length(Exp(expN).Dexp(1).MP)
try
char((Exp(expN).Dexp(n).MP(mx).genename{1}(384)))
MPnum=mx;
catch
break
end
end
%*************************************************
%}
%********************************************************************************
%Begin .mat Data Loading section
%********************************************************************************
expN= zonePB; %added to accomodate AppDesigner limitations 230821
% Load .mat file
expN=zonePB; % added to accomodate AppDesigner limitations 230821
Exp(expN).UgeneCnt=0;
Exp(expN).DexpLength= size(matFile,2); DexpLength= size(matFile,2);
for n=1:Exp(expN).DexpLength %size(matFile,2)
@@ -45,9 +30,9 @@ Exp(expN).Dexp(n).srtOrfLst={('CheckMP/MPDMfile')};
set(handles.listboxGnOrf,'value',1) %Fix accomodation for bug in App Designer .. .wlapp converter 230918
set(handles.listboxGnOrf,'string',cellstr([{'Failed To Load'}; {' '}]));
%try
ExpOutmat= matFile(n) %fullfile(openExppath,openExpfile);
ExpOutmat= matFile(n) %fullfile(scansDir,openExpfile);
load(char(ExpOutmat));
%cd(openExppath)
%cd(scansDir)
%cd ..;
%resDir=pwd;
Exp(expN).Dexp(n).resDir= cell2mat(resDir(n));
@@ -57,7 +42,7 @@ set(handles.listboxGnOrf,'string',cellstr([{'Failed To Load'}; {' '}]));
Exp(expN).Dexp(n).ExpFoldr= ExpPath;
cd(w)
%Experiment LOADs
load (fullfile(Exp(expN).Dexp(n).ExpFoldr,'MasterPlateFiles','MPDMmat.mat'))
load(fullfile(Exp(expN).Dexp(n).ExpFoldr,'MasterPlateFiles','MPDMmat.mat'))
load(fullfile(Exp(expN).Dexp(n).resDir,'Fotos','Coordinates'))
load(fullfile(Exp(expN).Dexp(n).resDir,'Fotos','anlZones'))
load(fullfile(Exp(expN).Dexp(n).resDir,'Fotos','BGatTpts'))