andycasey / smhr

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

Exception raised: cannot read spectrum from path /Users/madelyncain/Desktop/Spectroscopy/MP2307/mp2307.smh #173

Closed maddiecain closed 8 years ago

maddiecain commented 8 years ago

An exception was encountered using version 3c23d4e on Python 2.7.11 |Anaconda 4.0.0 (x86_64)| (default, Dec 6 2015, 18:57:58) [GCC 4.2.1 (Apple Inc. build 5577)]:

Traceback (most recent call last):

  File "/Users/madelyncain/smhr/smh/gui/ui_mainwindow.py", line 281, in new_session
    self.session = smh.Session(filenames)

  File "smh/session.py", line 62, in __init__
    s = specutils.Spectrum1D.read(path)

  File "smh/specutils/spectrum.py", line 132, in read
    raise ValueError("cannot read spectrum from path {}".format(path))

ValueError: cannot read spectrum from path /Users/madelyncain/Desktop/Spectroscopy/MP2307/mp2307.smh

Below is a screenshot from the application at the time that the exception occurred:

screenshot

Additional details on how this exception occurred:

maddiecain commented 8 years ago

Hey, maybe we can look at this tomorrow morning. I wanted to work on plotting the abundances for MP2307, and when I opened the file, this error showed up. When i tried opening it again, my stellar parameters look like i haven't touched the star

screen shot 2016-07-10 at 8 48 07 pm

my masking is still there, but "measure abundances" won't work. all my other stars saved in the same folder aren't affected

maddiecain commented 8 years ago

Anna helped me this morning and we realized that for some reason, a few points that were supposed to be unchecked were checked again. It looks fine now