crawfordsm / specidentify

Software for identifying spectral lines and calibrating spectroscopic observations.
15 stars 11 forks source link

crashes when hitting "q" to quit the GUI #24

Open HeloiseS opened 6 years ago

HeloiseS commented 6 years ago

Here is the error message that I get after I hit "q" in the GUI to quit the application.

  File "/home/heloise/Data/specreduce_tests/specidentify/specreduce/interidentify.py", line 165, in regionChange
    self.ws = self.newWS(0.5 * (self.y1 + self.y2))
  File "/home/heloise/Data/specreduce_tests/specidentify/specreduce/interidentify.py", line 237, in newWS
    keys = np.array(self.ImageSolution.keys())
AttributeError: 'NoneType' object has no attribute 'keys'
Traceback (most recent call last):
  File "/home/heloise/Data/specreduce_tests/specidentify/specreduce/interidentify.py", line 232, in saveWS
    self.ImageSolution[k] = nws
TypeError: 'NoneType' object does not support item assignment