scientist-softserv / derivative_rodeo

An ETL Ecosystem for Derivative Processing.
Other
0 stars 0 forks source link

♻️ Flattening assumptive dir structure for PDFs #48

Closed jeremyf closed 1 year ago

jeremyf commented 1 year ago

Yes, it would be nice to have sub-directories for pages ripped from a PDF. However, that aspirational state creates complications on the implementation details of the DerivativeRodeo; by moving from a tail glob to a regular expression, we create a more powerful mechanism for finding files.

These changes also highlighted a few implementation bugs (namely ensuring the correct expected return value of the newly re-named function).

In IIIF Print we still need to consider how to find the child page's derivatives of an original PDF. That is, however, not a problem for this repository.

Related to: