Skip to content

Conversation

brent-spyder
Copy link

Reason For Changes

When using the ToExcel exporter I noticed error messages coming from the typeChecker() function when I used the average score aggregation function. This is because the Techniques' scores come out as a float type. int is checked first, an error message is emitted, then float is checked.

Summary of Changes

I updated typeChecker() function to support a list of types, and I updated the score() method in technique.py to utilize the change.

Testing

I re-ran my code to export a layer to excel. The code worked as expected and I no longer received the error messages. I also ran the unit tests locally an everything continued to pass

Copy link

@brent-spyder brent-spyder changed the title Update/reduce type checker noise Update to reduce type checker noise Jan 14, 2025
@jondricek jondricek changed the base branch from master to main August 26, 2025 17:00
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.

1 participant