projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove annot class in favor of SeqSpan
[mussa.git]
/
py
/
test
/
TestSequence.py
diff --git
a/py/test/TestSequence.py
b/py/test/TestSequence.py
index 5fcc36205aa0d1b04614c5ab08c96421ed9fc290..80fc3e68e84f5489169b011207d489c0023049a5 100644
(file)
--- a/
py/test/TestSequence.py
+++ b/
py/test/TestSequence.py
@@
-29,14
+29,8
@@
class TestSequence(unittest.TestCase):
self.failUnless(s.species == species)
def testAnnotations(self):
self.failUnless(s.species == species)
def testAnnotations(self):
- annot = mussa.annot()
- annot.begin = 0
- annot.end = 10
- annot.name = "foo"
- annot.type = "utr"
-
seq = mussa.Sequence("AAGGCCTTAATTGGCCTT")
seq = mussa.Sequence("AAGGCCTTAATTGGCCTT")
- seq.add_annotation(
annot
)
+ seq.add_annotation(
"foo", "utr", 0, 10
)
def notestFile(self):
# remove no prefix once we have sequence loading from a stream
def notestFile(self):
# remove no prefix once we have sequence loading from a stream