panoptes / POCS

An Observatory Control System for the PANOPTES citizen-science project designed to help find transiting exoplanets! :telescope: :stars:
https://pocs.readthedocs.io/en/latest/
MIT License
77 stars 49 forks source link

Better metadata key names for firestore #1247

Closed wtgee closed 2 months ago

wtgee commented 2 months ago

Store the current metadata in the unit document itself, so we can just watch that for constant updates. The record itself is stored in the subcollection called metadata still, but should maybe just go directly to bq.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 22.22222% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 71.96%. Comparing base (2a8b019) to head (a91056d).

Files Patch % Lines
src/panoptes/pocs/utils/database.py 22.22% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1247 +/- ## ======================================== Coverage 71.96% 71.96% ======================================== Files 101 101 Lines 8396 8396 Branches 1189 1189 ======================================== Hits 6042 6042 Misses 2198 2198 Partials 156 156 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.