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

test for get_results and categorical fix #241

Merged
merged 2 commits into from
Apr 3, 2023
Merged

Conversation

quaquel
Copy link
Owner

@quaquel quaquel commented Apr 3, 2023

adds additional test for get_results (for completing #232) and fixes #236

@quaquel quaquel requested a review from EwoutH April 3, 2023 08:43
@quaquel quaquel added this to the 2.4.0 milestone Apr 3, 2023
@coveralls
Copy link

Coverage Status

Coverage: 81.227% (+0.08%) from 81.144% when pulling 915fa43 on callback_test_and_fix into 76d64c8 on master.

Copy link
Collaborator

@EwoutH EwoutH 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! Please add one clarifying comment and then feel free to merge.

@@ -306,6 +309,14 @@ def get_results(self):
_logger.warning("some experiments have failed, returning masked result arrays")
results[k] = v

for name, dtype in zip(self.columns, self.dtypes):
try:
if dtype == "object":
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please add a quick comment why this is done

@quaquel quaquel merged commit 4463a7f into master Apr 3, 2023
quaquel added a commit that referenced this pull request Apr 24, 2023
#241 ensured that categorical uncertainties were properly handled in the experiment dataframe. The general introduction used an outdated fix for the same problem.
quaquel added a commit that referenced this pull request Apr 24, 2023
#241 ensured that categorical uncertainties were properly handled in the experiment dataframe. The general introduction used an outdated fix for the same problem.
EwoutH pushed a commit that referenced this pull request Jun 18, 2023
#241 ensured that categorical uncertainties were properly handled in the experiment dataframe. The general introduction used an outdated fix for the same problem.
@quaquel quaquel deleted the callback_test_and_fix branch June 18, 2023 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pairs plotting dependent on load_results
3 participants