Formatting

This commit is contained in:
2024-07-27 19:13:51 -04:00
parent 9057970706
commit b8ebff2c18
5 changed files with 66 additions and 62 deletions

View File

@@ -49,7 +49,7 @@ if ~exist(masterPlateFile, 'file') || isempty(masterPlateFile)
disp('Using newest MasterPlate file: ', masterPlateFile, ', skipping directory selection');
break
catch ME
h = msgbox(ME.message, 'Error', 'error');
h=msgbox(ME.message, 'Error', 'error');
disp('Rerunning directory selection');
% I don't know what else we'll need to do here
end
@@ -74,7 +74,7 @@ if ~exist(masterPlateFile, 'file') || isempty(masterPlateFile)
disp('Using newest MasterPlate file: ', masterPlateFile, ', skipping directory selection');
break
catch ME
h = msgbox(ME.message, 'Error', 'error');
h=msgbox(ME.message, 'Error', 'error');
uiwait(h);
disp('Rerunning directory selection');
% I don't know what else we'll need to do here
@@ -108,18 +108,18 @@ try
excLnNum=3;
while (isequal(txt{excLnNum,1},'###'))
numb=numb+1;
MP(numb).head = {raw(excLnNum,2:6)};
MP(numb).recNum = {raw((excLnNum+1):(excLnNum+384),1)};
MP(numb).orf = {raw((excLnNum+1):(excLnNum+384),2)};
MP(numb).strain = {raw((excLnNum+1):(excLnNum+384),3)};
MP(numb).genename= {raw((excLnNum+1):(excLnNum+384),12)};
MP(numb).drug= {raw((excLnNum+1):(excLnNum+384),8)};
MP(numb).media= {raw((excLnNum+1):(excLnNum+384),7)};
MP(numb).head={raw(excLnNum,2:6)};
MP(numb).recNum={raw((excLnNum+1):(excLnNum+384),1)};
MP(numb).orf={raw((excLnNum+1):(excLnNum+384),2)};
MP(numb).strain={raw((excLnNum+1):(excLnNum+384),3)};
MP(numb).genename={raw((excLnNum+1):(excLnNum+384),12)};
MP(numb).drug={raw((excLnNum+1):(excLnNum+384),8)};
MP(numb).media={raw((excLnNum+1):(excLnNum+384),7)};
if size(raw,2)>15
MP(numb).orfRep= {raw((excLnNum+1):(excLnNum+384),16)}; % added 12_1005 to specify replicates Orfs in MP
MP(numb).specifics= {raw((excLnNum+1):(excLnNum+384),17)}; % added 12_1008 to specify replicates Specific details in MP
MP(numb).orfRep={raw((excLnNum+1):(excLnNum+384),16)}; % added 12_1005 to specify replicates Orfs in MP
MP(numb).specifics={raw((excLnNum+1):(excLnNum+384),17)}; % added 12_1008 to specify replicates Specific details in MP
else
MP(numb).orfRep= ' ';
MP(numb).orfRep=' ';
MP(numb).specifics= ' ';
end
% Future MP field
@@ -161,7 +161,7 @@ try
end
end
catch ME
h = msgbox(ME.message, 'Error', 'error');
h=msgbox(ME.message, 'Error', 'error');
uiwait(h);
end