jozsarato / PyEyeSim

4 stars 2 forks source link

substituting asserts ins dataproc #87

Closed duinj closed 4 months ago

duinj commented 5 months ago

assert should probably not be used in production code as it just throws an unspecified error but as we know the error here lets throw the specific error. https://www.browserstack.com/guide/assert-in-python#:~:text=Using%20assert%20statements%20can%20be,they%20incur%20a%20slight%20overhead.