src/hg/protein/pbGlobal/pbGlobal.c 1.46
1.46 2009/08/06 19:12:38 fanhsu
Changed errAbort() to hUserAbort().
Index: src/hg/protein/pbGlobal/pbGlobal.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/protein/pbGlobal/pbGlobal.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -b -B -U 4 -r1.45 -r1.46
--- src/hg/protein/pbGlobal/pbGlobal.c 10 Jul 2009 01:42:22 -0000 1.45
+++ src/hg/protein/pbGlobal/pbGlobal.c 6 Aug 2009 19:12:38 -0000 1.46
@@ -219,9 +219,9 @@
protSeq = getAA(proteinID);
if (protSeq == NULL)
{
- errAbort("%s is not a current valid entry in UniProtKB\n", proteinID);
+ hUserAbort("%s is not a current valid entry in UniProtKB\n", proteinID);
}
protSeqLen = strlen(protSeq);
fflush(stdout);
@@ -511,9 +511,9 @@
answer = uniProtFindPrimAcc(queryID);
if (answer == NULL)
{
- errAbort(
+ hUserAbort(
"'%s' does not seem to be a valid UniProtKB protein ID or a gene symbol.<br><br>Click <A HREF=\"../cgi-bin/pbGateway\">here</A> to start another query."
, queryID);
}
@@ -583,9 +583,9 @@
safef(cond_str, sizeof(cond_str), "displayID='%s'", proteinID);
proteinAC = sqlGetField(protDbName, "spXref3", "accession", cond_str);
if (proteinAC == NULL)
{
- errAbort("'%s' does not seem to be a valid Swiss-Prot/TrEMBL protein ID or gene symbol.<br><br>Click <A HREF=\"../cgi-bin/pbGateway\">here</A> to start another query."
+ hUserAbort("'%s' does not seem to be a valid Swiss-Prot/TrEMBL protein ID or gene symbol.<br><br>Click <A HREF=\"../cgi-bin/pbGateway\">here</A> to start another query."
, proteinID);
}
else
{