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

Feat/147 update calls to write manifest #149

Merged
merged 22 commits into from
Feb 23, 2024

Conversation

AlexAxthelm
Copy link
Collaborator

@AlexAxthelm AlexAxthelm commented Feb 18, 2024

Update run_data_preparation to use changed function in https://github.com/RMI-PACTA/pacta.data.preparation/pull/341.

Also simplifies somewhat the logic around the list of input filepaths.

Should be merged after that, but coordinated closely.

Note: as-written, this includes #150, but reverting back to 35fd720 removes that dependency.

Also as written, depends on #153, as this does a similar simplification from list.files() to explicit filepath lists for the archive export feature defined in that PR. Reverting 1b8cd49 removes that connection.

Closes #147

update required version of `pacta.data.preparation`
Create an input_filepaths object, rather than use individual filepaths
@AlexAxthelm AlexAxthelm requested a review from jdhoffa February 18, 2024 16:00
@AlexAxthelm AlexAxthelm mentioned this pull request Feb 18, 2024
6 tasks
create a unique directory for outputs, and warn if it already exists

Closes: #151
Export a zip archive of all files specified as inputs and the contents of the output directory

Closes: #152
Use explicit filepath vectors for archive export process defined in #153
@AlexAxthelm AlexAxthelm marked this pull request as ready for review February 18, 2024 19:32
@AlexAxthelm
Copy link
Collaborator Author

Marking as ready for review, with notes about the PRs that should be considered first.

@cjyetman
Copy link
Member

putting into draft mode because this depends on other PRs, and as such, it's nearly impossible to review properly

@cjyetman cjyetman marked this pull request as draft February 22, 2024 12:29
@AlexAxthelm AlexAxthelm marked this pull request as ready for review February 23, 2024 13:05
AlexAxthelm and others added 2 commits February 23, 2024 14:42
Removed block of code that would check for existence of a directory that
is created earlier in script.
Copy link
Member

@cjyetman cjyetman left a comment

Choose a reason for hiding this comment

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

see suggestions (and line 968)

run_pacta_data_preparation.R Outdated Show resolved Hide resolved
run_pacta_data_preparation.R Show resolved Hide resolved
run_pacta_data_preparation.R Outdated Show resolved Hide resolved
AlexAxthelm and others added 2 commits February 23, 2024 14:56
Use the `output_files` list of filepaths for archive step.
@AlexAxthelm AlexAxthelm merged commit a4b662b into main Feb 23, 2024
@AlexAxthelm AlexAxthelm deleted the feat/147-update-calls-to-write_manifest branch February 23, 2024 13:59
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.

Update calls to write_manifest()
2 participants