示例#1
0
 def test_create_no_itemclass(self):
     # must supply an itemclass to SequenceDB!
     try:
         db = SequenceDB()
         assert 0, "should not reach this point"
     except TypeError:
         pass
示例#2
0
 def __init__(self, filepath):
     self.filepath = filepath
     self.seqInfoDict = _ScreedSeqInfoDict_ByIndex(filepath)
     SequenceDB.__init__(self)
 def __init__(self, *args, **kwargs):
     self.seqInfoDict = dict(foo=_SimpleFakeInfoObj(len(_fake_seq)))
     SequenceDB.__init__(self, *args, **kwargs)
示例#4
0
 def __init__(self, *args, **kwargs):
     self.seqInfoDict = dict(foo=_SimpleFakeInfoObj(len(_fake_seq)))
     SequenceDB.__init__(self, *args, **kwargs)