Skip to content

Commit

Permalink
reduce duplicated message verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
stolarczyk committed Jan 14, 2020
1 parent 1e08976 commit 60dfda9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/changelog.md
@@ -1,5 +1,9 @@
# Changelog

## [0.22.4] - unreleased
### Changed
- Reduced duplicated message verbosity

## [0.22.3] - 2019-12-13
### Changed
- Remove `is_command_callable` from `utils` module; instead, refer to [`ubiquerg`](https://pypi.org/project/ubiquerg/).
Expand Down
4 changes: 2 additions & 2 deletions peppy/project.py
Expand Up @@ -1000,14 +1000,14 @@ def parse_sample_sheet(self, sample_file):
# See https://github.com/pepkit/peppy/issues/159 for the original issue
# and https://github.com/pepkit/peppy/pull/160 for the pull request
# that resolved it.
_LOGGER.info("Reading sample annotations sheet: '%s'", sample_file)
_LOGGER.info("Reading sample table: '%s'", sample_file)
sep = infer_delimiter(sample_file)
_LOGGER.debug("Inferred delimiter: {}".format(sep))
try:
df = pd.read_csv(sample_file, sep=sep, **READ_CSV_KWARGS)
except IOError:
raise Project.MissingSampleSheetError(sample_file)
_LOGGER.info("Storing sample table from file '%s'", sample_file)
_LOGGER.debug("Storing sample table from file '%s'", sample_file)
missing = self._missing_columns(set(df.columns))
if len(missing) != 0:
raise InvalidSampleTableFileException(
Expand Down

0 comments on commit 60dfda9

Please sign in to comment.