Coverage for biobb_flexdyn/test/unitests/test_flexdyn/test_concoord_disco.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.6.4, created at 2024-11-04 11:11 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_flexdyn.flexdyn.concoord_disco import concoord_disco 

4 

5 

6class TestConcoordDisco(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'concoord_disco') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 # pass 

13 

14 def test_concoord_disco(self): 

15 concoord_disco(properties=self.properties, **self.paths) 

16 assert fx.not_empty(self.paths['output_traj_path']) 

17 assert fx.not_empty(self.paths['output_rmsd_path']) 

18 assert fx.not_empty(self.paths['output_bfactor_path']) 

19 # assert fx.equal(self.paths['output_traj_path'], self.paths['ref_output_traj_path']) 

20 # assert fx.equal(self.paths['output_rmsd_path'], self.paths['ref_output_rmsd_path']) # Frames swap?? 

21 # assert fx.equal(self.paths['output_bfactor_path'], self.paths['ref_output_bfactor_path'])