8f4e76f8972781dcf79755e7cf2a32015eb093f5 galt Fri Apr 19 13:32:46 2019 -0700 tweaking summary/index.html static page output diff --git src/hg/cirm/cdw/cdwGetFile/cdwGetFile.c src/hg/cirm/cdw/cdwGetFile/cdwGetFile.c index 72ef033..6fa94bd 100644 --- src/hg/cirm/cdw/cdwGetFile/cdwGetFile.c +++ src/hg/cirm/cdw/cdwGetFile/cdwGetFile.c @@ -97,30 +97,31 @@ { p->size = strlen(p->match); } while ((c = getc(file)) != EOF) { putchar(c); for(p=patcherList; p; p=p->next) { if (c==p->match[p->count]) p->count++; else p->count = 0; if (p->count==p->size) { + putchar('\n'); // make view source more readable puts((*p->cdwLocalFunction)(cart, TRUE)); } } } fclose(file); } void sendFile(char *format, char *filePath, char *suggestFileName) /* format is one of "fastq", "fasta", defined in cdw.as. if format is NULL, use file extension. */ /* send file to user via Apache, using X-Sendfile or stdout, as needed */ { if (format==NULL || sameWord(format, "unknown")) { char ext[FILEEXT_LEN];