MingjieJian / pymoog

Python wrapper for MOOG
MIT License
11 stars 4 forks source link

Raise error when the line list is empty #27

Closed MingjieJian closed 3 years ago

MingjieJian commented 3 years ago

For now only MOOG will complain (in different ways depending on the input) when an empty line list is provided. I should add a check for the length of linelist and raise an error when it is zero.