![](https://secure.gravatar.com/avatar/f242853dd4064d5ec26005ca96a58a64.jpg?s=120&d=mm&r=g)
Sorry, I forgot the patch on that.
On Jun 11, 2008, at 1:57 PM, Ben Webb wrote:
> 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 > -- > ben@salilab.org http://salilab.org/~ben/ > "It is a capital mistake to theorize before one has data." > - Sir Arthur Conan Doyle > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev