Skip to content
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

Misc fixes, improve __str__ and __repr__ #10

Merged
merged 3 commits into from
Jul 24, 2024

Conversation

wpbonelli
Copy link
Member

@wpbonelli wpbonelli commented Jul 24, 2024

  • __str__() on param, block or package shows what will be written to file
  • __repr__() on param, block or package shows unambiguous representation
    • value or dict of values for instance
    • spec of dict of specs for class
  • attach block attrs to package class
  • remove unnecessary params properties

@wpbonelli wpbonelli marked this pull request as ready for review July 24, 2024 22:56
@wpbonelli wpbonelli merged commit 91b528e into modflowpy:develop Jul 24, 2024
14 checks passed
@wpbonelli wpbonelli deleted the fixes branch July 24, 2024 22:56
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.

1 participant