src/hg/protein/pbCalDistGlobal/pbCalDistGlobal.c 1.9
1.9 2009/09/25 18:55:00 kent
Reduced a warn to a verbose 2 since it was complaining about 'U' which is common these days. Also took out a system call to speed it up about 2x.
Index: src/hg/protein/pbCalDistGlobal/pbCalDistGlobal.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/protein/pbCalDistGlobal/pbCalDistGlobal.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 4 -r1.8 -r1.9
--- src/hg/protein/pbCalDistGlobal/pbCalDistGlobal.c 23 Sep 2009 18:42:24 -0000 1.8
+++ src/hg/protein/pbCalDistGlobal/pbCalDistGlobal.c 25 Sep 2009 18:55:00 -0000 1.9
@@ -234,9 +234,9 @@
}
}
if (!aaResFound)
{
- warn("%c %d not a valid AA residue in %s:\n%s\n", *chp, *chp, accession, aaSeq);
+ verbose(2, "%c %d not a valid AA residue in %s:\n%s\n", *chp, *chp, accession, aaSeq);
}
chp++;
}
@@ -265,10 +265,9 @@
errAbort("Too many proteins - please set MAX_PROTEIN_CNT to be more than %d\n", MAX_PROTEIN_CNT);
if ((icnt % 10000) == 0)
{
- printf("%d done.\n", icnt);fflush(stdout);
- mustSystem("date");
+ printf("%d done.\n", icnt);
}
}
sqlFreeResult(&sr2);
sqlDisconnect(&conn2);