The-Academic-Observatory / oaebu-workflows

Telescopes, Workflows and Data Services for the 'Book Analytics Dashboard Project (2022-2025)', building upon the project 'Developing a Pilot Data Trust for Open Access eBook Usage (2020-2022)'
https://documentation.book-analytics.org/
Apache License 2.0
5 stars 0 forks source link

Find format from filename, not filepath #242

Closed keegansmith21 closed 3 months ago

keegansmith21 commented 3 months ago

The date generated by airflow can have a decimal place in it, which makes its way into the filepath. This breaks the regex output that determines the file format. I added a line that extracts the file name in order to determine the format instead.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.93%. Comparing base (10d178b) to head (7d9b3aa).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #242 +/- ## ======================================= Coverage 93.93% 93.93% ======================================= Files 15 15 Lines 3032 3033 +1 Branches 389 389 ======================================= + Hits 2848 2849 +1 Misses 102 102 Partials 82 82 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.