Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/rev/df68a5bc96fc
Дата изменения: Unknown
Дата индексирования: Tue Oct 2 00:30:50 2012
Кодировка:
allpy: df68a5bc96fc

allpy

changeset 441:df68a5bc96fc

Fixed erroneous assertion in Alignment._replace_column_contents helper of Alignment.process
author Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru>
date Tue, 15 Feb 2011 21:46:05 +0300
parents 46793d078b74
children 4fd61a928aa1
files allpy/base.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/allpy/base.py	Tue Feb 15 21:34:05 2011 +0300
     1.2 +++ b/allpy/base.py	Tue Feb 15 21:46:05 2011 +0300
     1.3 @@ -360,7 +360,7 @@
     1.4          self._wipe()
     1.5          not_gap = lambda (a,b): a != None
     1.6          for sequence, new_row in zip(self.sequences, new.rows_as_lists()):
     1.7 -            assert len(sequence) == len(new_row.sequence)
     1.8 +            assert len(sequence) == len(filter(None, new_row.sequence))
     1.9              non_gap_columns = [column
    1.10                  for column, monomer in zip(self.columns, new_row)
    1.11                  if monomer