Skip to content

Commit

Permalink
remove mismatch message; #335
Browse files Browse the repository at this point in the history
  • Loading branch information
stolarczyk committed Apr 14, 2020
1 parent 337d1a1 commit 35b3ced
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions peppy/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,6 @@ def attr_derive(self, attrs=None):
return
da = self[CONFIG_KEY][SAMPLE_MODS_KEY][DERIVED_KEY][DERIVED_ATTRS_KEY]
ds = self[CONFIG_KEY][SAMPLE_MODS_KEY][DERIVED_KEY][DERIVED_SOURCES_KEY]
if not len(da) == len(ds):
_LOGGER.warning("Mismatch between derived attributes and sources. "
"Lengths: {}!={}".format(len(da), len(ds)))
derivations = attrs or (da if isinstance(da, list) else [da])
_LOGGER.debug("Derivations to be done: {}".format(derivations))
for sample in self.samples:
Expand Down

0 comments on commit 35b3ced

Please sign in to comment.