6990d48baaf213bbcdcfc1c69f933abe1654fe12 brianlee Thu Feb 13 13:18:29 2025 -0800 Adding to cdwSubmit.c otherSupportedFormats raw and xls to bypass error Format X is not supported diff --git src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c index 588cfd16b30..a5785aa78fa 100644 --- src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c +++ src/hg/cirm/cdw/cdwSubmit/cdwSubmit.c @@ -560,30 +560,31 @@ errAbort("Character '%c' (binary %d) not allowed in fileName '%s'", c, (int)c, fileName); } boolean isSupportedFormat(char *format) /* Return TRUE if this is one of our supported formats */ { /* First deal with non bigBed */ static char *otherSupportedFormats[] = {"unknown", "fastq", "bam", "bed", "gtf", "bam.bai", "vcf.gz.tbi", "bigWig", "bigBed", "bedLogR", "bedRrbs", "bedMethyl", "broadPeak", "narrowPeak", "bed_bedLogR", "bed_bedRrbs", "bed_bedMethyl", "bed_broadPeak", "bed_narrowPeak", "bedRnaElements", "openChromCombinedPeaks", "peptideMapping", "shortFrags", "rcc", "idat", "fasta", "customTrack", "pdf", "png", "vcf", "cram", "jpg", "text", "html", "tsv", "csv", + "raw", "xls", "kallisto_abundance", "expression_matrix", }; static int otherSupportedFormatsCount = ArraySize(otherSupportedFormats); if (stringArrayIx(format, otherSupportedFormats, otherSupportedFormatsCount) >= 0) return TRUE; /* If starts with bed_ then skip over prefix. It will be caught by bigBed */ if (startsWith("bed_", format)) format += 4; return cdwIsSupportedBigBedFormat(format); } void prefetchChecks(char *format, char *fileName, char *submitDir) /* Perform some basic format checks. */ {