Skip to content

Commit

Permalink
Removed unused GUI features (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
wleoncio committed Aug 8, 2024
1 parent 989e571 commit 058b37e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions greedyMix/process_FASTA_data.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

function processed_data = process_FASTA_data(file, partitionCompare)
setWindowOnTop(base,'false')
[filename1, pathname1] = uigetfile({'*.fasta';'*.*'}, 'Load data in FASTA-format');
if filename1==0
return;
Expand Down Expand Up @@ -28,7 +26,6 @@

% [ninds,data,heds]=testFastaData([pathname1 filename1]);

setWindowOnTop(base,'false')
[filename2,pathname2]=uigetfile('*.txt', 'Load individual coordinates');
if filename2==0
return
Expand Down Expand Up @@ -59,7 +56,6 @@
% input_pops = 'No';
if isequal(input_pops,'Yes')
%waitALittle;
setWindowOnTop(base,'false')
[namefile, namepath] = uigetfile('*.txt', 'Load population names');
if namefile==0
kysyToinen = 0;
Expand All @@ -68,7 +64,6 @@
end
if kysyToinen==1
%waitALittle;
setWindowOnTop(base,'false')
[indicesfile, indicespath] = uigetfile('*.txt', 'Load population indices');
if indicesfile==0
popnames = [];
Expand Down Expand Up @@ -101,12 +96,12 @@
save_preproc = questdlg('Do you wish to save pre-processed data?',...
'Save pre-processed data?',...
'Yes','No','Yes');
if isequal(save_preproc,'Yes');
if isequal(save_preproc,'Yes')
%waitALittle;
[filename, pathname] = uiputfile('*.mat','Save pre-processed data as');
kokonimi = [pathname filename];
save(kokonimi,'cc','dist','Z','format_type','-v7.3'); % added by Lu Cheng, 08.06.2012
end;
end

handleIndiFastaCase(cc,dist,Z);

Expand Down

0 comments on commit 058b37e

Please sign in to comment.