Fix the automated code generation for double and bool properties by marvinoe21 · Pull Request #573 · dlr-gtlab/python-module · GitHub
Skip to content

Fix the automated code generation for double and bool properties #573

Merged
marvinoe21 merged 5 commits into
masterfrom
279-code-generation-for-existing-calculators-does-not-work-correctly-anymore
Dec 18, 2024
Merged

Fix the automated code generation for double and bool properties #573
marvinoe21 merged 5 commits into
masterfrom
279-code-generation-for-existing-calculators-does-not-work-correctly-anymore

Conversation

@marvinoe21

Copy link
Copy Markdown
Collaborator

No description provided.

@marvinoe21 marvinoe21 self-assigned this Dec 11, 2024
@marvinoe21 marvinoe21 marked this pull request as draft December 12, 2024 07:53
@marvinoe21 marvinoe21 marked this pull request as ready for review December 12, 2024 08:09
@marvinoe21 marvinoe21 marked this pull request as draft December 16, 2024 11:48
@marvinoe21 marvinoe21 marked this pull request as ready for review December 16, 2024 11:49

@rainman110 rainman110 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

From what i understand and see, this looks good.

I cannot estimate potential side effects though. Can you please comment on this?

Is it possible, to verify the fixed functionality with a test?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What happened to the modeproperty cast?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Since the mode property is of type GtProperty<QString> it is handled in line 212.

@marvinoe21 marvinoe21 merged commit ef32911 into master Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code generation for existing calculators does not work correctly anymore

2 participants