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: Parameters name mismatch #71

Merged
merged 2 commits into from
Oct 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fixed parameter parameters name mismatch
  • Loading branch information
Gerald Walter Irsiegler authored and Gerald Walter Irsiegler committed Oct 19, 2023
commit 69a29f1c97617c71270ce4abae6c290936899958
2 changes: 1 addition & 1 deletion openeo_pg_parser_networkx/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def generate_function_from_nodes(nodes):
for node_type, node_name, operand1, operand2 in nodes:
if node_type == "array_element":
value = ast.Subscript(
value=ast.Name(id="parameter", ctx=ast.Load()),
value=ast.Name(id="parameters", ctx=ast.Load()),
slice=ast.Index(value=ast.Num(n=int(operand1))),
ctx=ast.Load(),
)
Expand Down