allpy
diff allpy/pdb.py @ 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 |
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)