File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
drop-boxes/register-imgag-dropbox Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -596,13 +596,14 @@ def process(transaction):
596
596
print rawFile
597
597
if rawFile .endswith ("vcf" ) or rawFile .endswith ("vcf.gz" ):
598
598
vcfs .append (rawFile )
599
- if rawFile .endswith ("fastq" ) or rawFile .endswith ("fastq.gz" ):
599
+ elif rawFile .endswith ("fastq" ) or rawFile .endswith ("fastq.gz" ):
600
600
fastqs .append (rawFile )
601
- if rawFile .endswith ("GSvar" ) or rawFile .endswith ("GSvar.gz" ):
601
+ elif rawFile .endswith ("GSvar" ) or rawFile .endswith ("GSvar.gz" ):
602
602
gsvars .append (rawFile )
603
- if rawFile .endswith ("tsv" ) or rawFile .endswith ("tsv.gz" ):
603
+ elif rawFile .endswith ("tsv" ) or rawFile .endswith ("tsv.gz" ):
604
604
tsvs .append (rawFile )
605
-
605
+ else :
606
+ raise Exception (rawFile + " is of an unsupported format" )
606
607
607
608
#if rawFiles[0].endswith("vcf") or rawFiles[0].endswith("vcf.gz"):
608
609
# datasetSample = find_and_register_vcf(transaction, jsonContent)
You can’t perform that action at this time.
0 commit comments