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

CSVMixin: Enable support for ensembles with one member #1653

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

jbaayen
Copy link
Collaborator

@jbaayen jbaayen commented Feb 6, 2025

Ensembles with one member failed to load previously, because np.genfromtxt() would return a 0-dimensional array when reading 'ensemble.csv'. This change lifts the array if 0-dimensional, and adds a test case.

Ensembles with one member failed to load previously, because np.genfromtxt()
would return a 0-dimensional array when reading 'ensemble.csv'.  This change
lifts the array if 0-dimensional, and adds a test case.
Copy link
Contributor

@SGeeversAtVortech SGeeversAtVortech 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.

@jarsarasty jarsarasty merged commit b5334b3 into master Feb 25, 2025
8 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.

3 participants