Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/file/d87129162eb4/NEWS
Дата изменения: Unknown
Дата индексирования: Tue Oct 2 17:40:29 2012
Кодировка:
allpy: d87129162eb4 NEWS

allpy

view NEWS @ 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 dcb78a91e981
children da46b25fd67d
line source
1 1.3.1
3 * new: Alignments, Sequences and Blocks now can have Markups, see the wiki
4 * new: File format 'markup' for storing alignment with arbitrary markups
5 * new: processor allpy.processors.Needle()
6 * new: method allpy.base.Alignment.rows_as_strings()
7 * new: method allpy.base.Alignment.row_as_list(sequence)
8 * new: method allpy.base.Alignment.row_as_string(sequence)
9 * new: columns_as_lists() returns list of lists, each has 'column' attribute
10 * new: javascript viewer colors columns by conservedness
12 1.3.0 (2011-04-15)
14 * new: started NEWS file
15 * new: started tracking version numbers