Do not attempt to read det2im keywords if header is not a pyfits object
Do not attempt to read det2im keywords if header is not a pyfits object

lpsinger/astropy,astropy/astropy,astropy/astropy,mhvk/astropy,bsipocz/astropy,funbaker/astropy,saimn/astropy,stargaser/astropy,DougBurke/astropy,pllim/astropy,StuartLittlefair/astropy,pllim/astropy,saimn/astropy,mhvk/astropy,mhvk/astropy,aleksandr-bakanov/astropy,larrybradley/astropy,funbaker/astropy,DougBurke/astropy,dhomeier/astropy,tbabej/astropy,funbaker/astropy,tbabej/astropy,StuartLittlefair/astropy,astropy/astropy,larrybradley/astropy,pllim/astropy,aleksandr-bakanov/astropy,lpsinger/astropy,pllim/astropy,dhomeier/astropy,aleksandr-bakanov/astropy,larrybradley/astropy,astropy/astropy,bsipocz/astropy,AustereCuriosity/astropy,AustereCuriosity/astropy,bsipocz/astropy,joergdietrich/astropy,stargaser/astropy,kelle/astropy,kelle/astropy,larrybradley/astropy,saimn/astropy,saimn/astropy,dhomeier/astropy,stargaser/astropy,astropy/astropy,joergdietrich/astropy,bsipocz/astropy,larrybradley/astropy,dhomeier/astropy,MSeifert04/astropy,MSeifert04/astropy,tbabej/astropy,joergdietrich/astropy,tbabej/astropy,kelle/astropy,joergdietrich/astropy,AustereCuriosity/astropy,pllim/astropy,aleksandr-bakanov/astropy,AustereCuriosity/astropy,MSeifert04/astropy,joergdietrich/astropy,AustereCuriosity/astropy,tbabej/astropy,StuartLittlefair/astropy,DougBurke/astropy,funbaker/astropy,mhvk/astropy,saimn/astropy,dhomeier/astropy,mhvk/astropy,lpsinger/astropy,kelle/astropy,lpsinger/astropy,kelle/astropy,DougBurke/astropy,StuartLittlefair/astropy,MSeifert04/astropy,lpsinger/astropy,StuartLittlefair/astropy,stargaser/astropy