src/hg/protein/pbTracks/pbTracks.c 1.58

1.58 2009/08/06 19:13:55 fanhsu
Changed errAbort() to hUserAbort().
Index: src/hg/protein/pbTracks/pbTracks.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/protein/pbTracks/pbTracks.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -b -B -U 4 -r1.57 -r1.58
--- src/hg/protein/pbTracks/pbTracks.c	10 Jul 2009 01:42:22 -0000	1.57
+++ src/hg/protein/pbTracks/pbTracks.c	6 Aug 2009 19:13:55 -0000	1.58
@@ -187,9 +187,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);
 
 iypos = 15; 
@@ -424,14 +424,14 @@
     safef(cond_str, sizeof(cond_str), "accession='%s'", proteinID);
     answer = sqlGetField(protDbName, "spXref3", "biodatabaseID", cond_str);
     if (sameWord(answer, "3"))
         {
-        errAbort("The corresponding protein %s is no longer available from UniProtKB.", 
+        hUserAbort("The corresponding protein %s is no longer available from UniProtKB.", 
 		 proteinID);
         }
     else
         {
-        errAbort("%s seems not to be a valid protein ID.", proteinID);
+        hUserAbort("%s seems not to be a valid protein ID.", proteinID);
         }
     } 
 else
    {
@@ -440,9 +440,9 @@
     hPrintf("%s seems to be an outdated protein ID.", proteinID);
     printf("<BR><BR>Please try ");
     hPrintf("<A HREF=\"../cgi-bin/pbGlobal?proteinID=%s\">  %s</A> instead.\n",
 	     spFindAcc(spConn, proteinID), spFindAcc(spConn, proteinID));fflush(stdout);
-    errAbort(" ");
+    hUserAbort(" ");
     }
   }
 if (kgVersion == KG_III)
     {