andycasey / smhr

Spectroscopy Made Hard(er)
14 stars 7 forks source link

Exception raised: 'MaskedColumn' object has no attribute '_mask' #270

Closed maddiecain closed 7 years ago

maddiecain commented 7 years ago

An exception was encountered using version 7b5597a on Python 2.7.6 | 32-bit | (default, Sep 15 2014, 17:36:57) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]:

Traceback (most recent call last):

  File "/Users/madelyncain/smhr/smh/gui/stellar_parameters.py", line 691, in measure_abundances
    self.update_scatter_plots()

  File "/Users/madelyncain/smhr/smh/gui/stellar_parameters.py", line 625, in update_scatter_plots
    self.update_trend_lines()

  File "/Users/madelyncain/smhr/smh/gui/stellar_parameters.py", line 738, in update_trend_lines
    yerr_column=yerr_column)

  File "/Users/madelyncain/smhr/smh/utils.py", line 143, in equilibrium_state
    A = np.vstack((np.ones_like(x), x)).T

  File "/Users/madelyncain/Library/Enthought/Canopy_32bit/User/lib/python2.7/site-packages/numpy/ma/core.py", line 5688, in <lambda>
    T = property(fget=lambda self: self.transpose())

  File "/Users/madelyncain/Library/Enthought/Canopy_32bit/User/lib/python2.7/site-packages/numpy/ma/core.py", line 2557, in wrapped_method
    mask = self._mask

AttributeError: 'MaskedColumn' object has no attribute '_mask'

Additional details on how this exception occurred:

maddiecain commented 7 years ago

This happens when I try and press "measure abundances" in the stellar parameters tab with alex's new smh

alexji commented 7 years ago

Can you e-mail me the SMH file? I can work on this next week.

On Fri, Sep 29, 2017 at 12:56 PM, maddiecain notifications@github.com wrote:

This happens when I try and press "measure abundances" in the stellar parameters tab with alex's new smh

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andycasey/smhr/issues/270#issuecomment-333223767, or mute the thread https://github.com/notifications/unsubscribe-auth/AC8Ijn6s1duFypp5d2mOjqaamF0XtN3Vks5snUt6gaJpZM4PpKOa .

maddiecain commented 7 years ago

yep!

On Fri, Sep 29, 2017 at 4:06 PM, Alex Ji notifications@github.com wrote:

Can you e-mail me the SMH file? I can work on this next week.

On Fri, Sep 29, 2017 at 12:56 PM, maddiecain notifications@github.com wrote:

This happens when I try and press "measure abundances" in the stellar parameters tab with alex's new smh

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andycasey/smhr/issues/270#issuecomment-333223767, or mute the thread https://github.com/notifications/unsubscribe-auth/ AC8Ijn6s1duFypp5d2mOjqaamF0XtN3Vks5snUt6gaJpZM4PpKOa .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andycasey/smhr/issues/270#issuecomment-333226052, or mute the thread https://github.com/notifications/unsubscribe-auth/ANFZ_QrCMhEwUf0P7Ob4G_fatdK_miUVks5snU3IgaJpZM4PpKOa .

-- Maddie Cain Department of Computer Science | Department of Physics MIT Class of 2019 mgcain@mit.edu | (512) 656-9661