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

Improve append_data_to_historic exception handling #40

Open
lorae opened this issue May 13, 2024 · 0 comments
Open

Improve append_data_to_historic exception handling #40

lorae opened this issue May 13, 2024 · 0 comments
Assignees

Comments

@lorae
Copy link
Owner

lorae commented May 13, 2024

The function append_data_to_historic within the HistoricDataComparer class contains a try-except block. The except is specifically a FileNotFoundError, which can introduce issues if the file is found but does not comport to the data standards assumed in the try block.

Create more graceful, generic error handling and a specific version of error handling when the file exists but does not comport with data standards. Once this is complete, remove the print statements (e.g. "existing_df read", "column order mapped", etc).

@lorae lorae self-assigned this May 14, 2024
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

No branches or pull requests

1 participant