atlanhq / camelot

Camelot: PDF Table Extraction for Humans
https://camelot-py.readthedocs.io
Other
3.61k stars 349 forks source link

Fix passing resolution argument to ghostscript in lattice parser #396

Open 0xteo opened 4 years ago

0xteo commented 4 years ago

The lattice parser has a resolution attribute that is never used. A default value of 300 is instead passed to ghostscript. I changed the ghostscript command to use self.resolution as it was intended.

codecov-io commented 4 years ago

Codecov Report

Merging #396 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #396   +/-   ##
=======================================
  Coverage   87.69%   87.69%           
=======================================
  Files          13       13           
  Lines        1511     1511           
  Branches      349      349           
=======================================
  Hits         1325     1325           
  Misses        129      129           
  Partials       57       57
Impacted Files Coverage Δ
camelot/parsers/lattice.py 94.11% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cd8ac79...b0c0804. Read the comment docs.