Skip to content

fix: importer cli skip error options#359

Merged
sdas-neuraco merged 1 commit intomainfrom
fix-importer-cli-skip-error
Feb 5, 2026
Merged

fix: importer cli skip error options#359
sdas-neuraco merged 1 commit intomainfrom
fix-importer-cli-skip-error

Conversation

@sdas-neuraco
Copy link
Contributor

Features

  • Introduced configurable --skip-on-error CLI flag (episode | step | none) and removed config-file handling of the old skip setting.
    Added step-level skipping logic to RLDS and LeRobot importers; retained episode-level and fail-fast modes with validation in the base class.
    Cleaned sample config and docstrings; ensured pre-commit passes (ruff/pydocstyle fixes).

Bugfixes

  • None

Items

Related PRs

  • None

@sdas-neuraco sdas-neuraco self-assigned this Feb 4, 2026
@sdas-neuraco sdas-neuraco added the version:minor non-breaking feature updates, new functions or endpoints label Feb 4, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

Consider updating changelogs/pending-changelog.md with a summary of this change for the release notes. This is optional and non-blocking.

@sdas-neuraco sdas-neuraco changed the title Fix importer cli skip error options fix: importer cli skip error options Feb 5, 2026
Copy link
Contributor

@ypang-neuraco ypang-neuraco left a comment

Choose a reason for hiding this comment

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

LGTM \w comments

Comment on lines 113 to 115
if skip_on_error not in {"episode", "step", "none"}:
raise ValueError("skip_on_error must be one of: 'episode', 'step', 'none'")

Copy link
Contributor

Choose a reason for hiding this comment

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

perhaps "all" instead of "none"? "none" sounds like nothing is skipped.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes agree

@sdas-neuraco sdas-neuraco force-pushed the fix-importer-cli-skip-error branch 2 times, most recently from ed197f8 to df1415c Compare February 5, 2026 11:43
@sdas-neuraco sdas-neuraco force-pushed the fix-importer-cli-skip-error branch from 70d6ae2 to 5f8c4c5 Compare February 5, 2026 12:02
@sdas-neuraco sdas-neuraco merged commit fdb1987 into main Feb 5, 2026
7 checks passed
@sdas-neuraco sdas-neuraco deleted the fix-importer-cli-skip-error branch February 5, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version:minor non-breaking feature updates, new functions or endpoints

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants