clintval/nucleic

Raise custom ValueError for a blank Spectrum when `.density` is called

clintval opened this issue · 1 comments

Calling .density when there are no counts or probabilities means a divide by zero. Alert user with a custom ValueError exception.

Fixed in #8