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

Ignore_errors flag to work in a relaxed mode #200

Closed
kavitharaju opened this issue Dec 15, 2022 · 0 comments
Closed

Ignore_errors flag to work in a relaxed mode #200

kavitharaju opened this issue Dec 15, 2022 · 0 comments

Comments

@kavitharaju
Copy link
Collaborator

In v2.x we had relaxed mode where users were allowed to work with "not-perfect" usfm files and still manage to get maximum content out of it.

To bring in that kind of a feature in V3.x, use a flag to ignore errors in conversion APIs.
Even when there are errors after parsing, the conversion APIs like to_dict(), to_usx(), to_list() etc should work and provide output from all portions where it parsed successfully, when used with this flag. Otherwise it should indicate there are errors.

This feature should behave alike on CLI and in code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant