Skip to content

Commit

Permalink
Merge pull request #361 from alexbrillant/hotfix-warnings-warn-exception
Browse files Browse the repository at this point in the history
Fix Warnings Warn Exception For Mutate
  • Loading branch information
guillaume-chevalier authored Jul 11, 2020
2 parents 8e998ff + a5ff11a commit 8772f69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion neuraxle/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.5.0"
__version__ = "0.5.1"
2 changes: 1 addition & 1 deletion neuraxle/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ def mutate(self, new_method="inverse_transform", method_to_assign_to="transform"
except AttributeError as e:
if warn:
import warnings
warnings.warn(e)
warnings.warn(repr(e))

return new_base_step

Expand Down

0 comments on commit 8772f69

Please sign in to comment.