def test_get_column(self):
    """Test extracting single columns from multiple and pairwise aligs."""
    self.assertEqual(self.msa1.get_column(1), {"s1": "-", "s2": "A",
                                               "s3": "A"})
    self.assertEqual(self.msa1.get_column(5), {"s1": "C", "s2": "C",
                                               "s3": "C"})
    self.assertEqual(self.pa1.get_column(11), {"s1": "-", "s2": "T"})
def test_get_column ( self ) : self . assertEqual ( self . msa1 . get_column ( 1 ) , { "s1" : "-" , "s2" : "A" , "s3" : "A" } ) self . assertEqual ( self . msa1 . get_column ( 5 ) , { "s1" : "C" , "s2" : "C" , "s3" : "C" } ) self . assertEqual ( self . pa1 . get_column ( 11 ) , { "s1" : "-" , "s2" : "T" } )
Test extracting single columns from multiple and pairwise aligs.