Skip to content

Fix incorrect error message for invalid cache_format in get_dataset#1712

Open
emphor11 wants to merge 1 commit intoopenml:mainfrom
emphor11:fix-cache-format-error-message
Open

Fix incorrect error message for invalid cache_format in get_dataset#1712
emphor11 wants to merge 1 commit intoopenml:mainfrom
emphor11:fix-cache-format-error-message

Conversation

@emphor11
Copy link

Metadata

  • Reference Issue: NA
  • New Tests Added: No
  • Documentation Updated: No
  • Change Log Entry: Fix incorrect error message formatting for invalid cache_format in get_dataset

Details

This PR fixes a small formatting issue in the error message raised when an invalid
cache_format argument is provided to openml.datasets.get_dataset().

Previously, the error message contained a missing quotation mark around 'pickle':

This PR corrects the message to:
cache_format must be one of 'feather' or 'pickle'.
Invalid format specified:

This improves the clarity and consistency of the error message presented to users.
No functional behavior of the method is changed; this update only corrects the message formatting.

@emphor11
Copy link
Author

Hi @fkiraly
Hi! I am currently preparing an application for European Summer of Code, and I am currently exploring the OpenML Python repository. May I ask if any changes or improvements are needed?

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.

1 participant