biomol.CIFMol.remove_features#
- CIFMol.remove_features(level, *keys)#
Remove features at a specific structure level.
- Parameters:
level (StructureLevel) – The structure level at which to remove features.
*keys (str) – Keys of the features to remove.
- Returns:
Updated BioMol object.
- Return type:
mol
Notes
Does not modify the current BioMol instance; instead, returns a new one.
Examples
mol = BioMol(...) new_mol = mol.remove_features(StructureLevel.ATOM, "coord", "element")