Reference XYZMolecule XYZMolecule.append
XYZMolecule.append
append(new_coords, inplace=False)
To add coords to the current XYZMolecule.atoms attribute.
Parameters:
-
new_coords
(XYZCoord or list[XYZCoord]
) –List of new coords to add to new object.
-
inplace
(bool
, default:False
) –If True, perform operation in-place.
Returns:
-
XYZMolecule
–XYZMolecule object with new atoms.