Code generation for existing calculators does not work correctly anymore · Issue #279 · dlr-gtlab/python-module · GitHub
Skip to content

Code generation for existing calculators does not work correctly anymore #279

Description

@rainman110

In GitLab by @jensschmeink on May 16, 2024, 10:58

Summary

The Python Task had a cool feature:
If you drop a defined calculator in the wizard of the task the code was generated to reproduce the parameterization of this sepcific calculator. Therefore the parameters werre checked and for all parameters which are not on the default value the set-value method were added to the code.

Currently the values are not set for double properties. The functions are written but with empty argument list (see screenshot).
For object link properties and mode properties everything seems to be fine.

Which software is probably the cause of the error?

?

What is the current bug behavior?

The function argument lists are empty

What is the expected correct behavior?

Values from the dropped calculator should be used

Steps to reproduce

Drag and drop a defined calculator

Relevant logs and/or screenshots

grafik

GTlab environment

(Add details to your GTlab environment. If the bug relates to a module, please also add the module and its version.)

  • Operating System+version:
  • GTlab version:
  • GTlab footprint:
    (Create und upload the footprint as XML via GTlab -> Help -> About GTlab -> Export Framework Footprint)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions