Eigenstate / vmd-python

Installable VMD as a python module
Other
129 stars 24 forks source link

Add a check to setting a value from an array. #36

Closed jvermaas closed 3 years ago

jvermaas commented 3 years ago

This gives the user a clearer error message if they get something wrong, like I sometimes do. I had tried setting the beta column from an array of the wrong size, and the error message it gave was less than informative. This extra check defends against this user error.

Eigenstate commented 3 years ago

Thanks, this is helpful.

tonigi commented 1 year ago

This breaks my build. Where is atomSel defined?