[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] Decorator array cleanup



Sorry, I forgot the patch on that.

Attachment: chain2
Description: Binary data


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
--
                      http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
	- Sir Arthur Conan Doyle
_______________________________________________
IMP-dev mailing list

https://salilab.org/mailman/listinfo/imp-dev