From 1d43aaff941c84dc56311076b58795797e49107b Mon Sep 17 00:00:00 2001 From: Augustin Zidek Date: Fri, 10 Sep 2021 05:33:50 -0700 Subject: [PATCH] Accept any ordering given by ListDir in the assert. Addresses https://github.com/deepmind/alphafold/issues/168. PiperOrigin-RevId: 395907797 Change-Id: I28c7e951211c9cf6bd5e35d8dfaf57f22e843ed0 --- run_alphafold_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_alphafold_test.py b/run_alphafold_test.py index a9194a9c1..9093eb234 100644 --- a/run_alphafold_test.py +++ b/run_alphafold_test.py @@ -76,7 +76,7 @@ def test_end_to_end(self): self.assertIn('test', base_output_files) target_output_files = os.listdir(os.path.join(out_dir, 'test')) - self.assertSequenceEqual( + self.assertCountEqual( ['features.pkl', 'msas', 'ranked_0.pdb', 'ranking_debug.json', 'relaxed_model1.pdb', 'result_model1.pkl', 'timings.json', 'unrelaxed_model1.pdb'], target_output_files)