47790b284b066c70471a34a5a70d0277d88ee6ba tdreszer Fri May 6 10:47:51 2011 -0700 Another insignificant font color change that I forgot to check in yesterday. diff --git src/xenoAli/smithWat/smithWat.c src/xenoAli/smithWat/smithWat.c index 7e53112..720fdaf 100644 --- src/xenoAli/smithWat/smithWat.c +++ src/xenoAli/smithWat/smithWat.c @@ -26,41 +26,41 @@ }; void dumpMatrix(struct dynCell *matrix, int qDim, int tDim, struct dynCell *end) { int qIx, tIx; struct dynCell *cell, *parent; printf("shortcut to end token\n"); for (qIx = 0; qIx < qDim; ++qIx) { for (tIx = 0; tIx < tDim; ++tIx) { cell = &matrix[tIx*qDim + qIx]; parent = cell->parent; if (cell == end) - uglyf(""); + uglyf(""); if (parent == NULL) uglyf("."); else if (parent == cell-1) uglyf("^"); else if (parent == cell-qDim) uglyf("<"); else uglyf("\\"); if (cell == end) - uglyf(""); + uglyf(""); } uglyf("\n"); } } void dynAlign(char *query, char *target, int matchMatrix[256][256], int gapFunc[], int gapFuncLen, FILE *f) /* Do dynamic programming to make alignment between query and target, and print it to stdout. */ { int querySize = strlen(query); int targetSize = strlen(target); int qDim = querySize+1; int tDim = targetSize+1; int matrixCellCount = qDim * tDim; size_t matrixBytes = matrixCellCount * sizeof(struct dynCell); struct dynCell *matrix = needLargeMem(matrixBytes);