Skip to content

Added temporary verification for the number of ensemble members being one#13

Merged
KristianHMoller merged 2 commits intodmidk:mainfrom
KristianHMoller:feature/enforce_single_ensemble_member
May 8, 2026
Merged

Added temporary verification for the number of ensemble members being one#13
KristianHMoller merged 2 commits intodmidk:mainfrom
KristianHMoller:feature/enforce_single_ensemble_member

Conversation

@KristianHMoller
Copy link
Copy Markdown
Contributor

Currently, sunflow accepts only a single ensemble member.
Now, the code checks the value of ens_members and exits if it is different from one.
To be removed once support for multiple ensemble members is included.

@elbdmi
Copy link
Copy Markdown

elbdmi commented May 8, 2026

I will review it

Copy link
Copy Markdown

@elbdmi elbdmi left a comment

Choose a reason for hiding this comment

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

Looks good to me for now. Again as in the previous pr we could have a small test just checking that it works correctly but it is fine. Since this is a temporary solution, a TODO or linked issue for future multi-ensemble support would also make it easier to remove later.

@KristianHMoller
Copy link
Copy Markdown
Contributor Author

Looks good to me for now. Again as in the previous pr we could have a small test just checking that it works correctly but it is fine. Since this is a temporary solution, a TODO or linked issue for future multi-ensemble support would also make it easier to remove later.

Great idea! I have created an issue: #14

@KristianHMoller KristianHMoller merged commit c55ffc2 into dmidk:main May 8, 2026
2 checks passed
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