-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__repr__ and __str__ for models #652
Conversation
I see that you have decided to let @pymor/pymor-devs , what do you think? |
This is really something, where I am not sure what the right thing is. Maybe someone else also has an opinion, @pymor/pymor-devs? |
I also think it's fine to break from the |
@pymor/pymor-devs How about first adding |
I guess for f'''
StationaryModel {self.name if self.name != 'StationaryModel' else ''}
parameter_space: {self.parameter_space}
solution_space: {self.solution_space}
operator: {self.operator}
rhs: {self.rhs}
''' If the |
How about separating this PR into one about |
With #706 merged, how do we want to proceed here? I think it is clear that we won't need a custom |
I would like to have a prettier |
Ok, then I would propose to change Can you rebase on master? Then I would make the changes to these methods. |
@pmli, made the changes. Please have a look. |
- prints parameter space instead of type - some reordering
@sdrave I've copied the |
LGTM. |
This includes some basic
__repr__
and__str__
methods for models. Comments are welcome.Closes #392.