Skip to content

Improve append_data_to_historic exception handling #40

@lorae

Description

@lorae

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).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions