Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ewoksppf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
workflow
ewoks
ewoksppf
Commits
57909f28
Commit
57909f28
authored
3 years ago
by
Wout De Nolf
Browse files
Options
Downloads
Patches
Plain Diff
handle scalar numpy value in conditions
parent
084a7c24
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!40
Execute graph io
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ewoksppf/bindings.py
+3
-0
3 additions, 0 deletions
ewoksppf/bindings.py
with
3 additions
and
0 deletions
ewoksppf/bindings.py
+
3
−
0
View file @
57909f28
...
...
@@ -111,6 +111,9 @@ class DecodeRouterActor(RouterActor):
value
=
value
[
self
.
itemName
]
else
:
return
CONDITIONS_ELSE_VALUE
if
isinstance
(
value
,
numpy
.
ndarray
):
value
=
value
.
item
()
if
value
in
self
.
dictValues
:
return
value
else
:
...
...
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