Skip to content
Snippets Groups Projects
Commit 905ecf36 authored by Christoffer Stoll's avatar Christoffer Stoll
Browse files

bug: Make sure epoch dates from "fill in missing" is int not float

parent aadb0876
No related branches found
No related tags found
1 merge request!31bug: Make sure epoch dates from "fill in missing" is int not float
......@@ -3,12 +3,20 @@
All notable changes to this project will be documented in this file.
Changes before version 3.1.0 is not included
## [latest commits]
## [3.1.3] - 2024-09-27
### Added
- Added a new guide explaing how to get E2a dataflow
### Fixed
- Make sure epoch dates from "fill in missing" is int not float. It sometimes causes an error on import.
## [3.1.2] - 2024-09-26
### Added
- Added variable for container name in docker-compose file
- Exclude -9900 values, even if "include invalid values" is enabled in "historical data" module. The change is in Mean class, so it may affect others
......
......@@ -62,7 +62,7 @@ class Filling:
def __existing_dates__(cursor: any, sampling_point_id, epoch_from, epoch_to):
sql = """
select extract(epoch from to_time) as end_position
select extract(epoch from to_time)::int as end_position
from observations o
where o.sampling_point_id = %(sp)s
and extract(epoch from o.from_time) >= %(epoch_from)s
......
......@@ -3,7 +3,7 @@ from flask_jwt_extended import create_access_token
import requests
version_endpoint = Blueprint('version', __name__)
current_version = "3.1.2"
current_version = "3.1.3"
@version_endpoint.route('/api/version', methods=['GET'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment