Skip to content

Ignore spaces around arms in --arms - #33

Merged
kou merged 1 commit into
enactic:mainfrom
kou:strip-arms-spaces
Nov 24, 2026
Merged

kou merged 1 commit into
enactic:mainfrom
kou:strip-arms-spaces

Conversation

@kou

@kou kou commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

--arms "right, left" (ARMS="right, left") was parsed as "right" and " left". " left" isn't "left", so the left arm and the left wrist camera were ignored silently.

Spaces around each arm are ignored now.

`--arms "right, left"` (`ARMS="right, left"`) was parsed as `"right"`
and `" left"`. `" left"` isn't `"left"`, so the left arm and the left
wrist camera were ignored silently.

Spaces around each arm are ignored now.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

@shokubutsuu shokubutsuu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lgtm!

@kou
kou merged commit b3952c9 into enactic:main Nov 24, 2026
5 checks passed
@kou
kou deleted the strip-arms-spaces branch November 24, 2026 08:14
@kou

kou commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Thanks!

kou added a commit to enactic/dora-openarm-actions-executor that referenced this pull request Nov 25, 2026
`--arms "right, left"` (`ARMS="right, left"`) was parsed as `"right"`
and `" left"`. `" left"` isn't `"left"`, so the left arm was ignored
silently.

Spaces around each arm are ignored now.

This is the same change as
enactic/dora-openarm-observer#33 .

This also adds a CI job that runs pytest to run the added test. It's the
same workflow as dora-openarm-observer's one. `[build-system]` is added
to `pyproject.toml` because `uv sync` doesn't install this project into
the environment without it and the test can't import
`dora_openarm_actions_executor`.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
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