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
Use the same logic for handling --mets/--mets-basename/--working-dir in processors and "ocrd workspace" CLI #696
Conversation
…basename DeprecactionWarning
(cannot reply directly to comments on outdated code apparently) Can you have another look at the code pls? I think I have cleaned up the logic properly now. The reason we cannot easily do |
See #693 . This PR factors the resolving logic for the CLI options of
ocrd workspace
out toresolve_mets_arguments
and reuses that in the processor wrapper, so they should follow the same logic sans the--mets-basename
which is not part of the processor CLI spec (should it be?).