From cef977a94a41fab89c780dafd1af82a06fd5e25a Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Tue, 6 Mar 2018 06:46:32 -0800 Subject: [PATCH] Fix not checking version etc because we don't know it --- minos/tests/multi_sample_pipeline_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minos/tests/multi_sample_pipeline_test.py b/minos/tests/multi_sample_pipeline_test.py index 8c9c29a..e6d0a21 100644 --- a/minos/tests/multi_sample_pipeline_test.py +++ b/minos/tests/multi_sample_pipeline_test.py @@ -141,8 +141,8 @@ def test_run(self): self.assertTrue(os.path.exists(got_vcf)) got_header, got_lines = vcf_file_read.vcf_file_to_list(got_vcf) # the datei, minos version, and bcftools verisons might not match - expected_header = [x for x in expected_header if not x.startswith('##fileDate') or x.startswith('##source=minos') or x.startswith('##bcftools_mergeVersion')] - got_header = [x for x in got_header if not x.startswith('##fileDate')] + expected_header = [x for x in expected_header if not (x.startswith('##fileDate') or x.startswith('##source=minos') or x.startswith('##bcftools_mergeVersion'))] + got_header = [x for x in got_header if not (x.startswith('##fileDate') or x.startswith('##source=minos') or x.startswith('##bcftools_mergeVersion'))] self.assertEqual(expected_header, got_header) self.assertEqual(expected_lines, got_lines)