Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/rev/06659228cd6f
Дата изменения: Unknown
Дата индексирования: Mon Oct 1 23:30:18 2012
Кодировка:
allpy: 06659228cd6f

allpy

changeset 386:06659228cd6f

fix bug in allpy/pdb.py
author boris <bnagaev@gmail.com>
date Wed, 02 Feb 2011 16:21:04 +0300
parents d7fc6865ce58
children e5a2a8ae2ded
files allpy/pdb.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/allpy/pdb.py	Wed Feb 02 15:50:20 2011 +0300
     1.2 +++ b/allpy/pdb.py	Wed Feb 02 16:21:04 2011 +0300
     1.3 @@ -210,7 +210,7 @@
     1.4          for clique in cliques:
     1.5              for GC in GCs:
     1.6                  new_nodes = clique - GC
     1.7 -                if len(new) < ac_new_atoms * len(clique):
     1.8 +                if len(new_nodes) < ac_new_atoms * len(clique):
     1.9                      break
    1.10              else:
    1.11                  GCs.append(clique)