Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Python Unified Device Interface
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WZL-IQS-Public
Sensor Interfacing Language (SOIL)
Python Unified Device Interface
Commits
e4069a14
Commit
e4069a14
authored
Feb 23, 2023
by
Matthias Stefan Bodenbenner
Browse files
Options
Downloads
Patches
Plain Diff
fixed a bug in update-streams for non-scalar variables
parent
c7deb5df
Branches
Branches containing commit
Tags
7.0.2
Tags containing commit
No related merge requests found
Pipeline
#238776
passed
Feb 24, 2023
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+5
-0
5 additions, 0 deletions
README.md
setup.py
+1
-1
1 addition, 1 deletion
setup.py
src/soil/stream.py
+4
-0
4 additions, 0 deletions
src/soil/stream.py
with
10 additions
and
1 deletion
README.md
+
5
−
0
View file @
e4069a14
...
...
@@ -65,6 +65,11 @@ Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation)
## Recent changes
**7.0.2**
- 2023-02-23
-
fixed a bug in update-streams for non-scalar variables
**7.0.1**
- 2023-02-23
-
minor bugfix
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
e4069a14
from
setuptools
import
setup
,
find_packages
setup
(
name
=
'
wzl-udi
'
,
version
=
'
7.0.
1
'
,
version
=
'
7.0.
2
'
,
url
=
'
https://git-ce.rwth-aachen.de/wzl-mq-public/soil/python
'
,
author
=
'
Matthias Bodenbenner
'
,
author_email
=
'
m.bodenbenner@wzl.mq.rwth-aachen.de
'
,
...
...
This diff is collapsed.
Click to expand it.
src/soil/stream.py
+
4
−
0
View file @
e4069a14
...
...
@@ -136,6 +136,8 @@ class UpdateJob(FixedJob):
value
=
self
.
_callback
()
updated
=
self
.
_last_value
!=
value
self
.
_last_value
=
value
if
isinstance
(
updated
,
list
):
updated
=
any
(
updated
)
return
updated
@property
...
...
@@ -158,6 +160,8 @@ class EventJob(FixedJob):
value
=
self
.
_callback
()
updated
=
self
.
_event
.
is_triggered
(
value
)
self
.
_last_value
=
value
if
isinstance
(
updated
,
list
):
updated
=
any
(
updated
)
return
updated
@property
...
...
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