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

Copy public extracts upon export of data #201

Merged
merged 16 commits into from
Dec 22, 2023
Merged

Copy public extracts upon export of data #201

merged 16 commits into from
Dec 22, 2023

Conversation

stefpiatek
Copy link
Contributor

@stefpiatek stefpiatek commented Dec 21, 2023

When adding in the omop extract to be used by the parquet reading, occured to me that we had a lot of file-specific functionality so made an _io module. All pytest tests will now run mocking out the output directory to a tmpdir.

Went with reading in messages from parquet once only, so that they are copied only once as well.

Finishes off #182 integration with #159

@stefpiatek stefpiatek requested a review from a team December 21, 2023 18:48
Copy link
Member

@milanmlft milanmlft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving the IO stuff to _io.py definitely makes the CLI module a lot clearer! 🚀

cli/src/pixl_cli/main.py Outdated Show resolved Hide resolved
@stefpiatek stefpiatek merged commit 1125630 into main Dec 22, 2023
8 checks passed
@stefpiatek stefpiatek deleted the stef/copy-omop branch December 22, 2023 12:33
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.

2 participants