

def __getitem__(self, nlmsaID):
    'return NLMSASequence for a given nlmsa_id'
    try:
        return list.__getitem__(self, nlmsaID)
    except IndexError:
        (seqID, nsID) = self.nlmsaSeqDict.IDdict[str(self)]
        return list.__getitem__(self, nsID)

dataset/ETHPy150Open cjlee112/pygr/pygr/nlmsa_utils.py NLMSASeqList.__getitem__/VarMisuse@48/85 `nlmsaID`->`self`