Skip to content

Conversation

@natrad100
Copy link

  • fixes a bug with nested mapping of parameters in python (removes the double dot bug)

Minor bug where two dots appear where only a single dot should.

param_name = f"{self.prefix_}nested_param.{value_1}..{value_2}.inner_param"

now

param_name = f"{self.prefix_}nested_param.{value_1}.{value_2}.inner_param"

Let me know if you'd like me to re-write the test to align better with what you have (or remove)

* allows for nested mapping of parameters in python (removes the double dot bug)
@natrad100 natrad100 changed the title fix(generate_parameter_library_py): nested mappings double dot bug (#10) fix(generate_parameter_library_py): nested mappings double dot bug Sep 2, 2025
Copy link
Collaborator

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

I see the issue also in the current example_python.

But instead of writing a pytest for the exported code, what do you think of adding integration tests
#25?

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.

2 participants