Protein.rename_sample

Protein.rename_sample(old_name: str, new_name: str)

Rename sample to a new_name

Args:

old_name: name of the sample to rename new_name: new sample name

Raises:

ValueError: when old_sample does not exist or new_sample already exists