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

[MRG] Sort TableList by order of tables in PDF #283

Merged
merged 3 commits into from
Mar 8, 2019

Conversation

symroe
Copy link
Contributor

@symroe symroe commented Feb 25, 2019

This PR fixes #277

  • c019e58 is fairly easy, and is useful for some cases where the Table objects have got mixed up for some reason, or where reversing them is useful.

  • 8446271 I'm less sure about. When I opened the issue I thought I'd found a PDF that causes camelot to return tables in an order not defined in the PDF. I can't reproduce this, so I can't make a regression test for it. Very happy if you'd like me to pick that commit out, although I don't think it's doing any harm as it stands.

@codecov-io
Copy link

Codecov Report

Merging #283 into master will increase coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #283      +/-   ##
==========================================
+ Coverage   87.39%   87.44%   +0.05%     
==========================================
  Files          13       13              
  Lines        1491     1497       +6     
  Branches      343      346       +3     
==========================================
+ Hits         1303     1309       +6     
  Misses        131      131              
  Partials       57       57
Impacted Files Coverage Δ
camelot/core.py 87.83% <100%> (+0.2%) ⬆️
camelot/handlers.py 90.24% <100%> (ø) ⬆️

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 8ea4ec3...8446271. Read the comment docs.

@vinayak-mehta vinayak-mehta changed the title Sort TableList by order of tables in PDF [MRG] Sort TableList by order of tables in PDF Mar 8, 2019
@vinayak-mehta
Copy link
Contributor

Thanks for the PR! @symroe

@vinayak-mehta vinayak-mehta merged commit a5343dc into atlanhq:master Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sort TableList by order of tables in PDF
3 participants