what about
IMP.atom.get_chain(IMP.atom.get_leaves(mh)[0]).*get_id()* == 'A'
get_chain() returns an object which has its id as an attribute.
On 10/31/11 5:29 PM, Keren Lasker wrote: > hi: > > IMP.atom.Chain(mh).set_id('A') does not result in: > IMP.atom.get_chain(IMP.atom.get_leaves(mh)[0]) == 'A' > > what am i doing wrong? > > thanks, keren. > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev >