Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FINAM
finam
Commits
92f145fa
Commit
92f145fa
authored
2 years ago
by
Martin Lange
Browse files
Options
Downloads
Patches
Plain Diff
move getting data out of error logging
parent
ef6feabb
No related branches found
No related tags found
1 merge request
!257
Fix error logging for no data in static input
Pipeline
#158716
passed with stages
in 4 minutes and 53 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+7
-0
7 additions, 0 deletions
CHANGELOG.md
src/finam/sdk/input.py
+1
-2
1 addition, 2 deletions
src/finam/sdk/input.py
with
8 additions
and
2 deletions
CHANGELOG.md
+
7
−
0
View file @
92f145fa
# Release notes
## [unpublished]
### Bug fixes
*
No more logging of expected
`FinamNoDataError`
in inputs during the connect phase (!257)
## [v0.4.0]
### New scheduling algorithm
...
...
@@ -170,6 +176,7 @@
*
initial release of FINAM
[
unpublished
]:
https://git.ufz.de/FINAM/finam/-/compare/v0.4.0...main
[
v0.4.0
]:
https://git.ufz.de/FINAM/finam/-/compare/v0.4.0-rc.2...v0.4.0
[
v0.4.0-rc.2
]:
https://git.ufz.de/FINAM/finam/-/compare/v0.4.0-rc.1...v0.4.0-rc.2
[
v0.4.0-rc.1
]:
https://git.ufz.de/FINAM/finam/-/compare/v0.3.0...v0.4.0-rc.1
...
...
This diff is collapsed.
Click to expand it.
src/finam/sdk/input.py
+
1
−
2
View file @
92f145fa
...
...
@@ -121,10 +121,9 @@ class Input(IInput, Loggable):
if
self
.
is_static
:
if
self
.
_cached_data
is
None
:
data
=
self
.
source
.
get_data
(
time
,
target
or
self
)
with
ErrorLogger
(
self
.
logger
):
data
=
self
.
source
.
get_data
(
time
,
target
or
self
)
self
.
_cached_data
=
self
.
_convert_and_check
(
data
)
data
=
self
.
_cached_data
else
:
data
=
self
.
source
.
get_data
(
time
,
target
or
self
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment