We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1794004 commit cc4c418Copy full SHA for cc4c418
nipype/interfaces/base/support.py
@@ -168,10 +168,8 @@ def _get_bunch_hash(self):
168
sorted_dict = to_str(sorted(dict_nofilename.items()))
169
return dict_withhash, md5(sorted_dict.encode()).hexdigest()
170
171
- def __pretty__(self, p, cycle):
172
- """Support for the pretty module
173
-
174
- pretty is included in ipython.externals for ipython > 0.10"""
+ def _repr_pretty_(self, p, cycle):
+ """Support for the pretty module from ipython.externals"""
175
if cycle:
176
p.text('Bunch(...)')
177
else:
0 commit comments