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

Fix Scanner Dependency Error Messages #78

Merged
merged 3 commits into from
Jan 12, 2024
Merged

Conversation

swashko
Copy link
Collaborator

@swashko swashko commented Jan 12, 2024

Scanner dependency error messages were not populating since the error list was being cleared at the start of each scan. Changes the errors during initialization to be stored separately to populate in each scan, and changes dependency errors to only be created when a valid scan of that type is starting for SavedModel, Keras, and H5 scanners that have the optional dependencies.

@swashko swashko self-assigned this Jan 12, 2024
Copy link
Member

@willarmiros willarmiros left a comment

Choose a reason for hiding this comment

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

LGTM

@swashko swashko merged commit b4797a6 into main Jan 12, 2024
@swashko swashko deleted the dependency-error-messages branch January 12, 2024 00:39
@swashko swashko restored the dependency-error-messages branch January 12, 2024 00:40
@swashko swashko deleted the dependency-error-messages branch January 12, 2024 00:40
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.

2 participants