alan-turing-institute / DTBase

A starting point from which digital twins can be developed.
MIT License
11 stars 4 forks source link

Misc fixes #175

Closed mhauru closed 8 months ago

mhauru commented 8 months ago

More miscellaneous fixes to front and backend that came up when working on the models. Might again be best reviewed commit-by-commit, since each of them is independent of the others.

codecov-commenter commented 8 months ago

Codecov Report

Attention: 28 lines in your changes are missing coverage. Please review.

Comparison is base (6cff24b) 88.40% compared to head (3301010) 88.74%. Report is 5 commits behind head on main.

:exclamation: Current head 3301010 differs from pull request most recent head 7623c95. Consider uploading reports for the commit 7623c95 to get more accurate results

Files Patch % Lines
dtbase/core/db.py 58.62% 12 Missing :warning:
dtbase/core/utils.py 76.47% 4 Missing :warning:
dtbase/backend/api/sensor/routes.py 70.00% 3 Missing :warning:
dtbase/backend/api/model/routes.py 88.23% 2 Missing :warning:
dtbase/core/models.py 92.00% 2 Missing :warning:
dtbase/webapp/user.py 60.00% 2 Missing :warning:
dtbase/core/db_docker.py 66.66% 1 Missing :warning:
dtbase/models/utils/db_utils.py 0.00% 1 Missing :warning:
dtbase/tests/conftest.py 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #175 +/- ## ========================================== + Coverage 88.40% 88.74% +0.33% ========================================== Files 71 71 Lines 4864 4859 -5 ========================================== + Hits 4300 4312 +12 + Misses 564 547 -17 ```

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