Skip to content

Commit

Permalink
fix pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jburos committed Jan 12, 2017
1 parent 9c9745d commit 93725f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cohorts/cohort.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ def load_variants(self, patients=None, filter_fn=None, **kwargs):
def _hash_filter_fn(self, filter_fn, **kwargs):
if filter_fn is None:
return 'filter-none'
filter_fn_name = filter_fn.__name__
logger.debug('Computing hash for filter_fn: {} with kwargs {}'.format(filter_fn_name, str(dict(**kwargs))))
# function source code
fn_source = str(dill.source.getsource(filter_fn))
Expand Down
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Without ignoring this, we get errors like:
# E:249,20: Module 'numpy' has no 'nan' member (no-member)
ignored-modules = numpy, inspect
ignored-classes = DataFrameHolder, TextFileReader, tuple, list, zip, izip
ignored-classes = DataFrameHolder, TextFileReader, tuple, list, zip, izip, str

0 comments on commit 93725f3

Please sign in to comment.