def __repr__(self):
if np.any(list(map(np.iscomplexobj, self.param_columns))):<EOL><INDENT>is_complex = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>is_complex = "<STR_LIT>"<EOL><DEDENT>if self.dataname:<EOL><INDENT>return "<STR_LIT>" % (self.func.__name__, is_complex,<EOL>os.path.basename(self.dataname))<EOL><DEDENT>else:<EOL><INDENT>return "<STR_LIT>" % (self.func.__name__, is_complex)<EOL><DEDENT>
Pretty-printing, esp. for Nose output