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

Remove Deprecation Warning associated with .load command when there are no files at all #1182

Open
rstoneback opened this issue Feb 28, 2024 · 0 comments
Milestone

Comments

@rstoneback
Copy link
Collaborator

See pull #1179. An IndexError results when trying to load data when there are no files at all. There is a DeprecationWarning that in pysat version 3.3 the IndexError will not be raised. Remove this warning. Further, add a return to command to exit the function early so the error is no longer raised. Retain the helpful warning geared towards new users that pysat didn't find any files at all.

@jklenzing jklenzing added this to the 3.3.0 Release milestone Mar 12, 2024
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

No branches or pull requests

2 participants