Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Oct 30, 2018
1 parent 437f35e commit e73623c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_corpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ def test_corpus_zip(test_klass, prefix, zip_url, dir=['**'], path=[], blacklist=
tdn = tempfile.mkdtemp(prefix='miniwdl_test_'+prefix+"_")
subprocess.check_call(['wget', '-q', '-O', 'corpus.zip', zip_url], cwd=tdn)
subprocess.check_call(['unzip', '-q', 'corpus.zip'], cwd=tdn)
files = glob.glob(os.path.join(*([tdn] + dir + ['*.wdl'])))
files = glob.glob(os.path.join(*([tdn] + dir + ['*.wdl'])), recursive=True)
gpath = []
for p in path:
gpath = gpath + glob.glob(os.path.join(*([tdn] + p)))
gpath = gpath + glob.glob(os.path.join(*([tdn] + p)), recursive=True)
for fn in files:
name = os.path.split(fn)[1]
name = name[:-4]
Expand All @@ -29,7 +29,8 @@ class TestHCAskylab(unittest.TestCase):
class TestGATK(unittest.TestCase):
pass
test_corpus_zip(TestGATK, "GATK_five_dollar",
'https://github.com/gatk-workflows/five-dollar-genome-analysis-pipeline/archive/89f11be.zip', blacklist=['fc_germline_single_sample_workflow'])
'https://github.com/gatk-workflows/five-dollar-genome-analysis-pipeline/archive/89f11be.zip',
blacklist=['fc_germline_single_sample_workflow', 'split_large_readgroup', 'unmapped_bam_to_aligned_bam'])
test_corpus_zip(TestGATK, "gatk4_germline_snps_indels",
'https://github.com/gatk-workflows/gatk4-germline-snps-indels/archive/b9bbbdc.zip',
# TODO: support pre-1.0 style of workflow outputs (identifiers and wildcards)
Expand Down

0 comments on commit e73623c

Please sign in to comment.