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

Replace assert with raise ValueError #101

Merged
merged 4 commits into from
Aug 18, 2024
Merged

Conversation

ibarlet
Copy link
Contributor

@ibarlet ibarlet commented Aug 7, 2024

A potential solution for #98

All instances of assert (outside of tests) are replaced with Raise ValueError()

Also includes a linting changes and a few places where the to-be-depreciated "1H" has been changed to "1h". Unfortunately, one of those changes is within the init.py code which generates the initial config.toml file. As far as I can tell, this file will not be updated on the users system if they have previously imported goes2go and they will need to be instructed to manually update it.

@blaylockbk
Copy link
Owner

Cool. Thanks for the cleanup.

@blaylockbk blaylockbk merged commit b098d69 into blaylockbk:main Aug 18, 2024
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.

2 participants