8000 Fix bug in trigger parsing by vmander76 · Pull Request #277 · pyoscx/scenariogeneration · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix bug in trigger parsing #277

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

Merged
merged 4 commits into from
Jun 26, 2025
Merged

Fix bug in trigger parsing #277

merged 4 commits into from
Jun 26, 2025

Conversation

vmander76
Copy link
Collaborator

fixing some parsing bugs related to openscenario version

adding more tests for parsing

Fix bug when comparison of triggers didn't work after parsing when having stop-trigger
Parsing with different versions now handled better
New test comparing a parsed xml and the object, done for all examples and versions.
Can be used a regression test for all xmls
import os

import numpy as np

from scenariogeneration import prettyprint, xosc

Choose a reason for hiding this comment

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

Is this line needed? You have this import in line 35

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

interesting, Isort couln't handle this properly apparently

@atingber atingber merged commit 084dd7e into main Jun 26, 2025
34 checks passed
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.

3 participants
0