annayqho / TheCannon

a data-driven method for determining stellar parameters and abundances from stellar spectra
MIT License
39 stars 16 forks source link

Fix tiny bugs in github version #73

Closed smoh closed 6 years ago

smoh commented 6 years ago

Thanks for writing the tutorial. I found two small bugs trying out the github version. Feel free to ignore if not relevant any more.

Since starting_guess is supposed to be an array, checking == None gives: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all().

annayqho commented 6 years ago

Thanks! (and sorry for only getting to this now.)