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

Updates to use Pathlib rather than str or os.path #41

Merged
merged 6 commits into from
Jun 5, 2024

Conversation

Alrobbertz
Copy link
Member

@Alrobbertz Alrobbertz commented May 23, 2024

This PR updates the HERMES EEA processing functionality to consistently use pathlib.Path objects for file paths when processing files. Previously these functions used str objects or os.path, which goes against the HERMES best-practices. This PR aligns the functionality of the package with the best practices defined for the mission code development.

This PR and HERMES-SOC/hermes_core#117 are co-dependent so we need to decide which we want to complete first. My recommendation would be to complete the Core PR first.

I've manually tested the sdc_aws_processing_lambda, combining changes from both PRs , and successfully generated a CDF file.

@HERMES-SOC HERMES-SOC deleted a comment from github-actions bot May 23, 2024
Copy link
Contributor

The processed files are available as an artifact: https://github.com/HERMES-SOC/hermes_eea/actions/runs/9214426456/artifacts/1532606045

Copy link
Contributor

The processed files are available as an artifact: https://github.com/HERMES-SOC/hermes_eea/actions/runs/9214426456/artifacts/1545710270

Copy link
Contributor

The processed files are available as an artifact: https://github.com/HERMES-SOC/hermes_eea/actions/runs/9275854063/artifacts/1545832856

Copy link
Member

@dbarrous dbarrous left a comment

Choose a reason for hiding this comment

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

LGTM!

hermes_eea/calibration/calibration.py Outdated Show resolved Hide resolved
Co-authored-by: Damian Barrous Dume <damianbarrous@gmail.com>
Copy link
Contributor

The processed files are available as an artifact: https://github.com/HERMES-SOC/hermes_eea/actions/runs/9288106992/artifacts/1548724799

Copy link
Contributor

github-actions bot commented Jun 4, 2024

The processed files are available as an artifact: https://github.com/HERMES-SOC/hermes_eea/actions/runs/9372031922/artifacts/1567990823

Copy link
Contributor

github-actions bot commented Jun 4, 2024

The processed files are available as an artifact: https://github.com/HERMES-SOC/hermes_eea/actions/runs/9372099408/artifacts/1568006420

Copy link

@swkre swkre left a comment

Choose a reason for hiding this comment

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

Looks good

@Alrobbertz Alrobbertz merged commit 0c49d5d into HERMES-SOC:main Jun 5, 2024
13 checks passed
@Alrobbertz Alrobbertz deleted the update_path branch June 5, 2024 17:10
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.

4 participants