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

PAYLOAD STATION NAME should be indexable #138

Open
randolf9 opened this issue Jan 2, 2025 · 0 comments
Open

PAYLOAD STATION NAME should be indexable #138

randolf9 opened this issue Jan 2, 2025 · 0 comments

Comments

@randolf9
Copy link

randolf9 commented Jan 2, 2025

The variable PAYLOAD STATION NAME is defined as a single value, but it should be indexable, same as PAYLOAD STATION WEIGHT.

If I apply this dirty workaround in my code, I can make it indexable and return correct string values, but would be nice to work out of the box:

station_name = aq.find("PAYLOAD_STATION_NAME")
station_name.definitions[0] = (b'PAYLOAD STATION NAME:1', b'String')
station_name.lastIndex = b':index'
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

No branches or pull requests

1 participant