Yeqzids/SP

SP_Extract.py: file name bug

Closed this issue · 1 comments

f = open(elem.replace('.fits','').replace('_bkgSub','').replace('_Procc','') + '.txt','w')

There is no file with these names, creating errors downstream (though the extraction is done without problem).

Background-subtracted files are named *_Bckg.fits. Also, the line quoted is for GMOS; the line for DENEVY (lines 84-88) were commented out. Errors go away after these two are fixed.