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

CLI: Margins option not processed #499

Open
Niremizov opened this issue Jun 5, 2024 · 0 comments
Open

CLI: Margins option not processed #499

Niremizov opened this issue Jun 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Niremizov
Copy link

Niremizov commented Jun 5, 2024

Describe the bug -M --margins options is not processed when using CLI.

Steps to reproduce the bug

  1. Example CLI command:
camelot --split_text --margins 1.5 0.5 0.8 --format html --output /tmp/1453949390-0823722001717578612/extract.txt --pages all stream -e 500 -r 8 [filePath]

Result: Margins not processed and not passed to read_pdf() function.

Expected behavior

Margins options would be passed to read_pdf() layout_kwargs - argument.

Environment

  • OS: Ubuntu
  • Python version: 3.8
  • Camelot version: 0.11.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant