Commit 1d43aaff authored by Augustin Zidek's avatar Augustin Zidek Committed by Copybara-Service
Browse files

Accept any ordering given by ListDir in the assert.

Addresses https://github.com/deepmind/alphafold/issues/168.

PiperOrigin-RevId: 395907797
Change-Id: I28c7e951211c9cf6bd5e35d8dfaf57f22e843ed0
parent 50ecd75d
...@@ -76,7 +76,7 @@ class RunAlphafoldTest(parameterized.TestCase): ...@@ -76,7 +76,7 @@ class RunAlphafoldTest(parameterized.TestCase):
self.assertIn('test', base_output_files) self.assertIn('test', base_output_files)
target_output_files = os.listdir(os.path.join(out_dir, 'test')) target_output_files = os.listdir(os.path.join(out_dir, 'test'))
self.assertSequenceEqual( self.assertCountEqual(
['features.pkl', 'msas', 'ranked_0.pdb', 'ranking_debug.json', ['features.pkl', 'msas', 'ranked_0.pdb', 'ranking_debug.json',
'relaxed_model1.pdb', 'result_model1.pkl', 'timings.json', 'relaxed_model1.pdb', 'result_model1.pkl', 'timings.json',
'unrelaxed_model1.pdb'], target_output_files) 'unrelaxed_model1.pdb'], target_output_files)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment