Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/file/d87129162eb4/.hgeol
Дата изменения: Unknown
Дата индексирования: Sun Feb 3 06:11:20 2013
Кодировка:
allpy: d87129162eb4 .hgeol

allpy

view .hgeol @ 822:d87129162eb4

Implemented & tested new markup API. See #95 1) Sequences, Alignment and Blocks now have two new methods: - add_markup(name, markup_class=optional, **kwargs=optional) - remove_markup(name) name refers to the same name as in aln.markups[name] or sequence[i].name It is now explicitly denied to create markups any other way. 2) Markups now have `remove()` method that means 'release all memory that would not be released otherwised, if we just remove markup from the dictionary'. For sequences markups it removes markup attribute from each monomer. 3) Added necessary del sequence_markup[monomer] method. 4) Many base classes have attribute `kind`; for Alignments and Blocks it is 'alignment', for Sequences it is 'sequence' for AlignmentMarkups it is 'alignment_markup' for SequenceMarkups it is 'sequence_markup'. This attribute is crucial for new alignment construction API. 5) Common stuff for MarkupContainers (Alignments and Sequences) is in MarkupContainerMixin.
author Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru>
date Fri, 15 Jul 2011 16:43:03 +0400
parents
children c15e35bb3bca
line source
1 [patterns]
2 **.py = native
3 **.txt = native
4 **.html = native
5 **.css = native
6 **.js = native
7 **.fasta = native
8 **.rst = native
9 **.tcl = native
10 **.C = native
11 **.h = native
12 debian/** = native
13 Makefile = native
14 README* = native
15 NEWS = native