performTransmutation(self,
struct,
index,
item)
|
|
Mark atom index for deletion, and also mark all the hydrogen atoms it
is attached to. This will happen on a copy of the input structure.
Normally this method in parent classes actually changes the structure,
but in this case, deleting atoms would mess up all the atom numbering for
Alchemists down the line, so we only mark those atoms for later
deletion.
- Parameters:
struct (schrodinger.structure.Structure) - The structure to transmute a copy of
index (int) - An index that tells what atom to delete
item (None) - None - unused
- Returns: schrodinger.structure.Structure
- A COPY of struct with atom index and attached hydrogens marked
for deletion.
- Overrides:
Alchemist.performTransmutation
|