removes states from a multi-state object like a trajectory.
delete_states name, 1 2 3 # delete states 1, 2, and 3
delete_states name, 1-3 9-13 # delete states 1 through 3 and 9 through 13
delete_states(name: str, states: str) -> None
cmd.delete_states(string name = object-name, string states = states string)
Note that special care needs to be taken to ensure that the object or selection name does not contain any quotes when passed as an argument.
Note This function currently only applies to non-discrete multistate molecular objects.