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: unify some train/test code #448

Merged

Conversation

carrascomj
Copy link
Member

Downstream of #447

There is some code duplication of Train/Test parameters that we can remove.

This is important in terms of the "development cost of adding a new parameter", probably there are some opportunities for streamlining the MaudParameter to xarray coords too, but I have not given it a try yet.

Checklist:

  • Updated any relevant documentation
  • Add an adr doc if appropriate
  • Include links to any relevant issues in the description
  • Unit tests passing
  • Integration tests passing

Copy link
Member

@teddygroves teddygroves left a comment

Choose a reason for hiding this comment

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

Looks great!

maud/data_model/parameter_set.py Outdated Show resolved Hide resolved
maud/data_model/parameter_set.py Outdated Show resolved Hide resolved
@teddygroves
Copy link
Member

PS don't merge this PR yet! As jorge says its downstream from #447

@carrascomj
Copy link
Member Author

PS don't merge this PR yet! As jorge says its downstream from #447

The target of the PR is basemodel not master!; we can merge it before 447 (after I work on the issues you raised).

@teddygroves
Copy link
Member

PS don't merge this PR yet! As jorge says its downstream from #447

The target of the PR is basemodel not master!; we can merge it before 447 (after I work on the issues you raised).

oh yeah oops: thanks for pointing out!

@carrascomj carrascomj mentioned this pull request Oct 13, 2023
5 tasks
@teddygroves teddygroves merged commit b1eccd7 into biosustain:basemodel Oct 13, 2023
6 checks passed
@carrascomj carrascomj deleted the refactor-basemodel-patch1 branch October 13, 2023 13:20
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