From d94fc0daa4c15fa219d6f9e065de78d97a6fa409 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Wed, 20 Jun 2007 07:37:33 +0000 Subject: [PATCH] git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPCR/branches/refactoring@70 60f365c0-8329-0410-b2a4-ec073aeeaa1d --- src/ecogrep.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/ecogrep.c b/src/ecogrep.c index c88f0d6..17aa73e 100644 --- a/src/ecogrep.c +++ b/src/ecogrep.c @@ -7,12 +7,6 @@ #include -typedef enum -{ - FALSE = 0, - TRUE = 1 -} BOOL; - #define VERSION "0.1" void getLineContent(char *stream, ecoseq_t *seq){ @@ -50,7 +44,7 @@ void freememory(char **tab, int32_t num){ } /** - * Check if a pattern match a string using mamberall libapat function + * Check if pattern match a string using mamberall libapat function * @param line array containing sequence information * @param pattern array containing patterns to test on the sequence * @param numpattern number of pattern in pattern array @@ -242,7 +236,7 @@ int main(int argc, char **argv){ /** * Get the taxonomy back **/ - taxonomy = read_taxonomy(database); + taxonomy = read_taxonomy(database,0); /** * Parse the stream @@ -312,10 +306,8 @@ int main(int argc, char **argv){ { printf("%s",orig); matchingresult++; - } + } } - - } if ( file != stdin ) fclose(file);