Beispiel #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
Beispiel #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)
Beispiel #4
0
 def __init__(self, *args, **kwargs):
     self.seqInfoDict = dict(foo=_SimpleFakeInfoObj(len(_fake_seq)))
     SequenceDB.__init__(self, *args, **kwargs)