Daniel Russel wrote: > This patch cleans up the code for the attribute arrays in decorators. In > terms of API changes it adds a method to get the ith residue from a > protein or chain or nucleotide. It also now enforces the create/cast > distinction with bonds, bonded and hierarchy nodes (previously any node > was a hierarchy node without having create cast on it).
Committed as r591, but this breaks the example chain.py. Can you fix that, please?
cd /Users/ben/imp/kernel/doc/examples && /Users/ben/imp/bin/imppy.sh python chain.py > /dev/null Traceback (most recent call last): File "chain.py", line 29, in <module> bpr= IMP.BondedDecorator.cast(chain[i-1]) ValueError: Particle missing required attribues in cast examples FAILED
Ben