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

BDRSPS-819 Made necessary tests or changes to types code after investigating low coverage on tests. #310

Merged
merged 4 commits into from
Nov 11, 2024

Conversation

joecrowleygaia
Copy link
Collaborator

Probably the biggest change is no longer returning None when retrieving datum uris. The thought here is that previously when these were directly retrieved from within the mapping methods, that there were no protections against the vocab error that would be thrown as well as the fact that the data that is expected to hit this method is already expected to have been validated through the enum check of the geodeticDatum fields. A chained exception is raised in its place.

Also renamed non-uppercase comment "note" with "NOTE" to help IDEs identify better.

abis_mapping/types/spatial.py Show resolved Hide resolved
abis_mapping/types/spatial.py Show resolved Hide resolved
tests/types/test_spatial.py Show resolved Hide resolved
@Lincoln-GR Lincoln-GR merged commit ed66e5b into main Nov 11, 2024
7 checks passed
@Lincoln-GR Lincoln-GR deleted the BDRSPS-819 branch November 11, 2024 07:34
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