iiasa / pysquirrel

MIT License
5 stars 1 forks source link

Wrong error type #21

Closed phackstock closed 2 months ago

phackstock commented 3 months ago

This:

https://github.com/iiasa/pysquirrel/blob/5d8005389d78f42a65863c3b175f879684d58643/src/pysquirrel/core.py#L175

is not a type error but rather a ValueError in my opinion. TypeError would be if the wrong data type is given, this is when the input is missing.