There are two solutions: 1) use multiple hierarchies, see the custom_hierarchy example fragment (or the HiearchyTraits docs) for how to do this 2) use a TableParticleRefiner. It is pretty straight forward, but was just written, so you mileage may vary
Keren Lasker wrote: > hi, > > So , I have a molecular with proper hierarchy, and would like to add > rigid bodies. > To define the rigid bodies I am using molecular hierarhcy, so a > particle may have more than one parent ( one for the molecule, for > example an atom belongs to a molecule, and one for his rigid body). > Currently a particle can have at most one parent in molecular hierarchy. > I think the solution should be adding RigidBodyHierarchyDecorator - > thoughts? > > thanks, > Keren. > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev