-
Notifications
You must be signed in to change notification settings - Fork 51
safeguard some properties #288
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
safeguard some properties #288
Conversation
d50e748 to
6f3b193
Compare
| }], | ||
| 'temporal': [] | ||
| } | ||
| except: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the except triggered by? A KeyError? Suggest to include the error type and log a message, i.e.
except KeyError as err:
LOGGER.info(f'boundingBox parsing failed: {err}')8ec2666 to
6a2d2f5
Compare
| :returns: dict of MCF contact | ||
| """ | ||
|
|
||
| if isinstance(contact, list): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i had to add this check, else tests fail, not sure how this can contact can be a list in some cases
64467a9 to
ad2dbf4
Compare
safeguard $graph remove utc reference
ad2dbf4 to
e82bb3f
Compare
resolves #285
resolves #286
resolves #287