7ce75d997ca3a25acea7dd48b5f0c4473c50b0b2
galt
  Fri Sep 15 13:21:42 2023 -0700
minor fix in parsing authors, add https too.

diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 2a23cf4..46fc2b9 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -6079,30 +6079,32 @@
  * Also strip web URLs since Entrez doesn't like those. */
 {
 char buf[MAXURLSIZE];
 char *ptr;
 
 if (len >= sizeof(buf))
     warn("author %s too long to process", gbAuthor);
 else
     {
     memcpy(buf, gbAuthor, len);
     buf[len] = 0;
     stripChar(buf, '.');
     subChar(buf, ',' , ' ');
     if ((ptr = strstr(buf, " http://")) != NULL)
         *ptr = 0;
+    if ((ptr = strstr(buf, " https://")) != NULL)
+        *ptr = 0;
     dyStringAppend(dy, buf);
     dyStringAppend(dy, " ");
     }
 }
 
 void gbToEntrezAuthor(char *authors, struct dyString *dy)
 /* Convert from Genbank author format:
  *      Kent,W.J., Haussler,D. and Zahler,A.M.
  * to Entrez search format:
  *      Kent WJ,Haussler D,Zahler AM
  */
 {
 char *s = authors, *e;
 
 /* Parse first authors, which will be terminated by '.,' */