-
Notifications
You must be signed in to change notification settings - Fork 0
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
adding derivatives folder to the upload #6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you'll need to add an upper bound to numpy in the pyproject.toml file:
'numpy<2.0',
We should create a ticket to improve the test coverage. I'm okay if we do that later.
f"Uploading {derivatives_path} to {s3_derivatives_dir}" | ||
) | ||
utils.sync_dir_to_s3(derivatives_path, s3_derivatives_dir) | ||
logging.info(f"Removing: {derivatives_path}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we want to remove the derivatives path here. You can probably just log that the upload finished if you want.
derivatives_path = Path(self.job_settings.input_source).joinpath( | ||
"derivatives" | ||
) | ||
if self.job_settings.s3_location is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a quick check that the derivatives folder actually exists?
Hello @jtyoung84,
I have included the derivatives folder to the upload. Please, let me know if you want me to include something else. I noticed that in the tests, the upload to S3 it is not directly being checked for any of the files.
I can work on this on and add it for the next PR.