Contact Details
No response
What happened?
If an invalid string is passed to astrodata.utils.Section.from_string, such as in this test, it passes without at warning the user or throwing an exception.
The desired behavior is likely to have a warning, more likely an exception(?) since this is almost certainly a typo when it happens.
It may be a good idea to have it accept optional brackets if there's a user expectation that those are optional, but have unmatched brackets raise an error (as this should be considered user error).
Version
Development version, can be reproduced in all previous versions.
Relevant log output
No response
Code of Conduct