def test_Fab_charge_shape(self): fab = Fab(heavy_chain=self.heavy_chain, light_chain=self.light_chain, load=False) self.assertEqual(fab.charge().shape, (296, ))
def test_Fab_Hmatrix_shape(self): fab = Fab(heavy_chain=self.heavy_chain, light_chain=self.light_chain, load=False) self.assertEqual(fab.hydrophobicity_matrix().shape, (296, ))
def test_Fab_Hmatrix_sum(self): fab = Fab(heavy_chain=self.heavy_chain, light_chain=self.light_chain, load=False) self.assertAlmostEqual(fab.hydrophobicity_matrix().sum(), -20.289999999999999)
def test_Fab_ec_2(self): fab = Fab(heavy_chain=self.heavy_chain, light_chain=self.light_chain, load=False) self.assertAlmostEqual(fab.extinction_coefficient(reduced=True), 69705.0)