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

Refactor Basin Parameter (constructor) #1905

Open
evetion opened this issue Oct 16, 2024 · 2 comments · May be fixed by #1929
Open

Refactor Basin Parameter (constructor) #1905

evetion opened this issue Oct 16, 2024 · 2 comments · May be fixed by #1929

Comments

@evetion
Copy link
Member

evetion commented Oct 16, 2024

Also, this basin Basin constructor is getting rather monstrous, could be divided into several parts. That is out of the scope of this PR though, so could be worth a new issue.

Originally posted by @SouthEndMusic in #1849 (comment)

@evetion
Copy link
Member Author

evetion commented Oct 16, 2024

Maybe it would be a simple development quality of life improvement of we make a simple Base.show method for Parameters.

@SouthEndMusic
Copy link
Collaborator

My changes here could serve as an inspiration. I split out a coherent subset of the fields as a substruct. This one doesn't need any code in the Basin constructor, but other substructs could get their own constructor.

@SouthEndMusic SouthEndMusic linked a pull request Nov 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

Successfully merging a pull request may close this issue.

2 participants