-rw-r--r-- | configure.ac | 20 | ||||
-rw-r--r-- | src/Makefile.am | 6 | ||||
-rw-r--r-- | src/aggregator.c | 14 | ||||
-rw-r--r-- | src/assign_protein_type.c | 72 | ||||
-rw-r--r-- | src/assign_protein_type.h | 6 | ||||
-rw-r--r-- | src/check_error.c | 14 | ||||
-rw-r--r-- | src/check_error.h | 11 | ||||
-rw-r--r-- | src/check_h5_error.c | 12 | ||||
-rw-r--r-- | src/check_h5_error.h | 12 | ||||
-rw-r--r-- | src/check_ncbi_error.c | 13 | ||||
-rw-r--r-- | src/check_ncbi_error.h | 13 | ||||
-rw-r--r-- | src/load_influenza_aa_dat.c | 31 |
12 files changed, 211 insertions, 13 deletions
diff --git a/src/check_ncbi_error.c b/src/check_ncbi_error.c new file mode 100644 index 0000000..3caa7a9 --- a/dev/null +++ b/src/check_ncbi_error.c | |||
@@ -0,0 +1,13 @@ | |||
1 | #include "check_ncbi_error.h" | ||
2 | |||
3 | void | ||
4 | check_ncbi_error (ValNodePtr error_returns, | ||
5 | const char* filename, | ||
6 | unsigned int linenum) | ||
7 | { | ||
8 | error_at_line (EXIT_FAILURE, 0, filename, linenum, | ||
9 | "An error has been reported by the NCBI Toolkit API: %s", | ||
10 | BlastErrorToString (error_returns)); | ||
11 | |||
12 | return; | ||
13 | } | ||