Add a variety of checks, more meaningful error information, and use of unsigned integers. This PR is aimed at future proofing larger runs of KBMOD and avoiding potential future errors.
The largest change is the creation of a simple wrapper function assert_sizes_equal() that handles both a test and throwing a meaningful error. This replaces a lot of individual tests with text formatting.
Add a variety of checks, more meaningful error information, and use of unsigned integers. This PR is aimed at future proofing larger runs of KBMOD and avoiding potential future errors.
The largest change is the creation of a simple wrapper function
assert_sizes_equal()
that handles both a test and throwing a meaningful error. This replaces a lot of individual tests with text formatting.