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

Fix dataset plots #404

Merged
merged 3 commits into from
Sep 15, 2024
Merged

Fix dataset plots #404

merged 3 commits into from
Sep 15, 2024

Conversation

153957
Copy link
Member

@153957 153957 commented Sep 14, 2024

This fixes the conversion of timestamps to hour of day by not rounding the values (using integer division).
Also add tests to most templatetags.

Also fix unittest make target when specifying specific tests to prevent it being seen as a SEED for shuffle.

Examples

Barometer:
baro_current
baro_fixed

Singles:
singles_current
singles_fixed

Allow hours in day to have decimals.
Otherwise specific tests are taken as seed for shuffle.
@davidfokkema
Copy link
Member

This is really nice! I can understand why you would want 'hours of day' to use floor division but a float value makes sense as well and it fixes the issues with the plots very nicely. +1

Copy link
Member

@davidfokkema davidfokkema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@153957 153957 merged commit e6b6f47 into master Sep 15, 2024
5 checks passed
@153957 153957 deleted the fix-dataset-plots branch September 15, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants