Skip to content

Add option to only process csv file that are from one day ago.#61

Merged
jeremyestein merged 19 commits intodevfrom
st/oneday-snakemake
Feb 17, 2026
Merged

Add option to only process csv file that are from one day ago.#61
jeremyestein merged 19 commits intodevfrom
st/oneday-snakemake

Conversation

@thompson318
Copy link
Collaborator

Addresses #43. This adds a ONLY_USE_CSV_FROM_YESTERDAY option to the exporter environment file, which is passed to the Snakefile and then to determine_eventual_outputs which uses date string matching to discard files without a matching date string.
The implementation itself is very small (< 10 lines) however this PR appears large as to make it possible to write a unit test to develop and check it I refactored the Snakefile to put some of the python functions in a separate utils.py file. I also refactored some of the tests, putting shared functions into helpers.py

…your

dev machine won't intermittently break the tests
@jeremyestein jeremyestein merged commit 0bc1dbd into dev Feb 17, 2026
2 checks passed
@jeremyestein jeremyestein deleted the st/oneday-snakemake branch February 17, 2026 16:25
@jeremyestein jeremyestein linked an issue Feb 18, 2026 that may be closed by this pull request
2 tasks
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.

Snakemake must only process one day's data at a time

2 participants

Comments