opencadd.structure.core.Structure.del_TopologyAttr
- Structure.del_TopologyAttr(topologyattr)
Remove a topology attribute from the Universe
Removing a TopologyAttribute from the Universe makes it unavailable to all AtomGroups etc throughout the Universe.
- Parameters
topologyattr (TopologyAttr or string) – Either a MDAnalysis TopologyAttr object or the name of a possible topology attribute.
Example
For example to remove bfactors to a Universe:
>>> u.del_TopologyAttr('bfactors') >>> hasattr(u.atoms[:3], 'bfactors') False
New in version 2.0.0.