You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to delete a fragment from an RMF file (basically all 10-residue beads in rigid bodies) in PMI2.
We used to be able to do that in PMI1 by looping through the hierarchy and call IMP.atom.destroy.(p) if p was one such bead.
I tried to reproduce that in PMI2 and it did not work -
I also tried using IMP.atom.Selection and play with sets of different members and randomly deleting some to check if this is still working but unfortunately that does not work -
@benmwebb has checked the IMP.atom.Representation decorator definition to see if there is a way to delete a representation in PMI2 and it does not seem to be a feature yet.
Thanks
The text was updated successfully, but these errors were encountered:
It is not a good practice to remove a particle from a PMI2 hierarchy, because:
there could be gaussians related to it
it could be part of a rigid body, so one has to tear down the corresponding rigid body, and then rebuild it.
I think the cleanest way to achieve it is to generate a new structure/molecule and copy all the needed descriptors/decorator-values, and deleting the old molecule hierarchy node. Let me know if you need more info.
I have been trying to delete a fragment from an RMF file (basically all 10-residue beads in rigid bodies) in PMI2.
We used to be able to do that in PMI1 by looping through the hierarchy and call IMP.atom.destroy.(p) if p was one such bead.
I tried to reproduce that in PMI2 and it did not work -
I also tried using IMP.atom.Selection and play with sets of different members and randomly deleting some to check if this is still working but unfortunately that does not work -
@benmwebb has checked the IMP.atom.Representation decorator definition to see if there is a way to delete a representation in PMI2 and it does not seem to be a feature yet.
Thanks
The text was updated successfully, but these errors were encountered: