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

allpy

changeset 511:e115d12d354b

geometrical_core(): fix a bug column can be included in gc only if it is represented in all sequences
author boris (kodomo) <bnagaev@gmail.com>
date Wed, 23 Feb 2011 20:05:14 +0300
parents 45d3c03b88aa
children e5ee982db23d
files allpy/structure.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/allpy/structure.py	Wed Feb 23 19:52:59 2011 +0300
     1.2 +++ b/allpy/structure.py	Wed Feb 23 20:05:14 2011 +0300
     1.3 @@ -218,7 +218,7 @@
     1.4                              ca2 = r2['CA']
     1.5                              d = ca1 - ca2 # Bio.PDB feature
     1.6                              distances.append(d)
     1.7 -                    if len(distances) >= 2:
     1.8 +                    if len(distances) == len(self.sequences):
     1.9                          delta = max(distances) - min(distances)
    1.10                          if delta <= max_delta:
    1.11                              edge = Graph.edge(column1, column2)