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

Datamodel: Typo in string handling #729

Open
drsteve opened this issue Jan 11, 2024 · 0 comments
Open

Datamodel: Typo in string handling #729

drsteve opened this issue Jan 11, 2024 · 0 comments
Assignees

Comments

@drsteve
Copy link
Member

drsteve commented Jan 11, 2024

Code execution can fail due to a typo in the astype method, as seen at
https://github.com/spacepy/spacepy/blame/7b63f500b1ea55e503cac177f34788a1832e6577/spacepy/datamodel.py#L1589

This showed up when I was resurrecting an old code that used to work... however, I had updated SpacePy in the intervening ~3 years. It would take a little work to put a MWE together for the issue, but it is an obvious typo and fixing it allows my code to run/succeed. I believe this is encountered when trying to write an object to an HDF5 file.

@drsteve drsteve self-assigned this Jan 11, 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

1 participant