Skip to content

Conversation

@larsoner
Copy link
Member

The __repr__ is not as good as sklearn but hopefully good enough. They went with something complicated that wasn't an easy try/except port:

https://github.com/scikit-learn/scikit-learn/blob/b5091a56186964189b1ffb719fa945554f9461fb/sklearn/base.py#L213-L230

Should fix https://github.com/mne-tools/mne-python/runs/7395864622?check_suite_focus=true

Copy link
Member

@agramfort agramfort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx @larsoner

the pprint of sklearn how now gone to all new level...

@larsoner larsoner merged commit 6955f97 into mne-tools:main Jul 18, 2022
@larsoner larsoner deleted the ci branch July 18, 2022 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants