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
Sort pages before compressing on uploads processing #587
Comments
@saracarl What do you want them sorted by? Size? Title/Name? |
This is the message when the compress happens compress tree(/tmp/fromthepage_uploads/145/SCOS_b01_17661211_Case_Anderson) |
@saracarl I added a sort to the compress method which looks like it works fine. I noticed that the ingest_tree and convert_to_work methods also don't sort (because the ruby Dir.glob method doesn't sort by default) - do you want me to add a sort on those as well? |
Discussed offline, and agreed that the other steps needed a sort as well. |
When we process pages (say, from a PDF) to reduce their size, we don't do them in any particular order. We should sort them first so it is easier to troubleshoot.
The text was updated successfully, but these errors were encountered: