-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: Adds localization column in the alerts table #289
Conversation
Codecov Report
@@ Coverage Diff @@
## main #289 +/- ##
==========================================
- Coverage 95.35% 95.20% -0.16%
==========================================
Files 66 66
Lines 1571 1605 +34
==========================================
+ Hits 1498 1528 +30
- Misses 73 77 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Hi, thanks for the PR, it might be nice to have a test with a different localization than None.
- fix localization field in test_alerts.py - client: convert_loc_to_str raise ValueError instead of empty list by default
Thanks @MateoLostanlen . There is a value that is not None but it was not according to the desired format ( |
Closing this since it has been merged in #267 |
Following (#267), this PR adds a localization field in the alerts table, including minimal necessary changes.
The localization field is meant to be used as a JSON dump of a list of bounding boxes.