summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--src/Makefile.am2
-rw-r--r--src/controller/callbacks/reshape.c2
-rw-r--r--src/db/dbconnect.sqc12
-rw-r--r--src/model/data/base.sqc2
-rw-r--r--src/model/state/state.h3
-rw-r--r--src/util/check_error.c6
-rw-r--r--src/util/check_error_db.c13
-rw-r--r--src/util/check_error_db.h9
-rw-r--r--test/distance_sanity_check/gi_227977170_78032581.pngbin0 -> 51161 bytes
-rw-r--r--test/entropy/Align2Ref.m24
-rw-r--r--test/entropy/CalculateEntropy.m15
-rw-r--r--test/entropy/CalculateProteinEntropy.m25
-rw-r--r--test/entropy/FastNWalign2.c94
-rw-r--r--test/entropy/GenomeAlignments.m31
-rw-r--r--test/entropy/GenomePairwiseDist.m98
-rw-r--r--test/entropy/RefineAlignments.m276
-rw-r--r--test/entropy/don_anal.m40
-rw-r--r--test/entropy/nwalign_mod.m637
18 files changed, 1280 insertions, 9 deletions
diff --git a/src/util/check_error.c b/src/util/check_error.c
index c47ca43..7d116e9 100644
--- a/src/util/check_error.c
+++ b/src/util/check_error.c
@@ -2,8 +2,7 @@
2#include <error.h>2#include <error.h>
3#include <errno.h>3#include <errno.h>
4#include <stdlib.h>4#include <stdlib.h>
5#include "sqlinfoprint.h"5#include "check_error_db.h"
6extern struct sqlca sqlca;
76
8void7void
9check_error (const char *filename, const unsigned int linenum)8check_error (const char *filename, const unsigned int linenum)
@@ -23,8 +22,7 @@ check_error (const char *filename, const unsigned int linenum)
23 /*22 /*
24 * Check for an error from the Database API.23 * Check for an error from the Database API.
25 */24 */
26 if (sqlinfoprint ("DB Error", &sqlca, filename, linenum) == 1)25 check_error_db (filename, linenum);
27 exit (EXIT_FAILURE);
2826
29 return;27 return;
30}28}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.