Member Site › Forums › PyRosetta › PyRosetta – General › Creating a vector1 of AtomID objects › Reply To: Creating a vector1 of AtomID objects
July 18, 2011 at 2:09 pm
#5862
Anonymous
I assume the problem is that there isn’t an interface, (or we don’t know the interface), for doing C++ templating in python. In C++:
utility::vector1< core::id::AtomID > my_vector;
You may be able to circumvent this by extracting an AtomID vector from the code and modifying it – set a local variable equal to a return value that is a vector1
The only function I can find that returns the right type is protocols::constraints_additional::SequenceProfileConstraint.atom_IDs().