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

[GroMEt] Function Default Missing Values PR #873

Merged
merged 9 commits into from
Apr 2, 2024

Conversation

titomeister
Copy link
Contributor

@titomeister titomeister commented Mar 29, 2024

This PR addresses an issue with function calls and default values. If a function call is happening and it contains keyword arguments, the GroMEt FN wouldn't appropriately wire all the ports to the operations that were happening. This has been fixed.

Summary of Changes

  • Updated to_gromet_pass.py so that it more correctly generates keyword arguments.
  • Added test script test_fun_default.py that ensures consistency for generating keyword arguments.

Related issues

  • None

Resolves #810

@github-actions github-actions bot removed the Code2FN label Mar 29, 2024
Copy link
Contributor

@vincentraymond-ua vincentraymond-ua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@titomeister - LGTM!

@titomeister titomeister merged commit a618df2 into main Apr 2, 2024
7 checks passed
@titomeister titomeister deleted the ferra/fun_default_missing_values branch April 2, 2024 20:06
github-actions bot added a commit that referenced this pull request Apr 2, 2024
This PR addresses an issue with function calls and default values. If a
function call is happening and it contains keyword arguments, the GroMEt
FN wouldn't appropriately wire all the ports to the operations that were
happening. This has been fixed.

###  Summary of Changes
- Updated `to_gromet_pass.py` so that it more correctly generates
keyword arguments.
- Added test script `test_fun_default.py` that ensures consistency for
generating keyword arguments.

### Related issues
- None

Resolves #810 a618df2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Gromet] Missing details in Function Default Values
2 participants