Skip to content

table_json_conversion.convert.py to_dict() ignores validate parameter

Summary

The validate parameter of caosadvancedtools.table_json_conversion.convert.py to_dict() is unused. I believe return converter.to_dict() was meant to be return converter.to_dict(validate=validate), however this causes the test unittests.table_json_conversion.test_read_xlsx.py to fail as the parsed file is not validated successfully.

Expected Behavior

The validation parameter should be honored, and the test should pass.

Possible fixes

My suspicion is that there might be an error in the test files that was not noticed before as the validate parameter was ignored. However, I am not familiar enough with the code to identify what the specific problem might be.