Keck-DataReductionPipelines / MosfireDRP

http://keck-datareductionpipelines.github.io/MosfireDRP
10 stars 13 forks source link

Typo in extraction causing resource warning #143

Open mheida opened 4 years ago

mheida commented 4 years ago

Hi,

When I use the optimal extraction feature in the pipeline I keep getting resource warnings: Long2pos_hip64248.py:56: ResourceWarning: unclosed file <_io.FileIO name='hip64248_POSC_NARROW_H_eps.fits' mode='rb' closefd=True>

I'm guessing that this is due to a typo and that 'closefd' should actually be 'closed', but I can't find where in the code this is set.

Marianne