de178594aa7a5480496a75575e48b7412ba57d59 galt Fri Sep 15 17:55:03 2023 -0700 Revert "minor fix in parsing authors, add https too." This reverts commit 7ce75d997ca3a25acea7dd48b5f0c4473c50b0b2. diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 46fc2b9..2a23cf4 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -6079,32 +6079,30 @@ * 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 '.,' */