Commit a1eb99f2 authored by Mikaël Salson's avatar Mikaël Salson

CGI: Align unlimited number of sequences

No need to specify a hard-coded value for the number of sequences.
Fasta object knows how many sequences there are.
parent 4e2f78f3
......@@ -21,7 +21,7 @@ int main(int argc, char* argv[])
p=&ost;
char filename[L_tmpnam];
tmpnam(filename);
bool cgi_mode;
if (argc <= 1){
......@@ -77,7 +77,7 @@ int main(int argc, char* argv[])
string seq0 = fa.sequence(0);
LazyMsa lm = LazyMsa(50, seq0);
LazyMsa lm = LazyMsa(fa.size(), seq0);
for (int i=1; i < fa.size(); i++){
string seq1 = fa.sequence(i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment