code: def rename_dataset(self, old_dataset, new_dataset):
          
          # TODO: raise error if old_component not found?
  
          self._check_label(new_dataset)
          self._rename_label('dataset', old_dataset, new_dataset)
          self._handle_dataset_selectparams()
docs: Change the label of a dataset attached to the Bundle
  
          :parameter str old_dataset: the current name of the dataset
              (must exist)
          :parameter str new_dataset: the desired new name of the dataset
              (must not exist)
          :return: None
          :raises ValueError: if the new_dataset is forbidden