rfinn / halphagui

development of gui interface for H-alpha narrowband imaging
GNU General Public License v3.0
0 stars 0 forks source link

program crashes if wrong filename is selected #82

Open rfinn opened 3 years ago

rfinn commented 3 years ago

add a try/except for when it tries to load the image name. if the file is the wrong format, return and ask the user to reselect the input image.

except FileNotFound: print('not able to load file') return

rfinn commented 3 years ago

filterratio.py line 72

if source extractor is not found, it crashes. instead is should print a message that source extractor was probably not found.