DbCore.py 文件源码

python
阅读 16 收藏 0 点赞 0 评论 0

项目:icing 作者: slipguru 项目源码 文件源码
def getSeqField(self, field):
        if field in IgRecord._field_map:
            v = getattr(self, IgRecord._field_map[field])
        elif field in self.annotations:
            v = self.annotations[field]
        else:
            return None

        if isinstance(v, Seq):
            return v
        elif isinstance(v, str):
            return Seq(v, IUPAC.ambiguous_dna)
        else:
            return None

    # Returns: dictionary of the namespace
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号