def _check_unique_samples(self):
<EOL>repeats = {name: n for name, n in Counter(<EOL>s.name for s in self._samples).items() if n > <NUM_LIT:1>}<EOL>if repeats:<EOL><INDENT>hist_text = "<STR_LIT:\n>".join(<EOL>"<STR_LIT>".format(name, n) for name, n in repeats.items())<EOL>_LOGGER.warning("<STR_LIT>".format(hist_text))<EOL><DEDENT>
Handle scenario in which sample names are not unique.