ccdproc icon indicating copy to clipboard operation
ccdproc copied to clipboard

ImageFileCollection.hdus returns HDUs not HDULists

Open astrofrog opened this issue 3 years ago • 2 comments

The docstring for ImageFileCollection.hdus mentions that HDUList objects are returned, but I think this should be PrimaryHDU or ImageHDU depending on the ext_index.

astrofrog avatar Jul 26 '22 15:07 astrofrog

Just to be clear, do you mean that it currently returns an HDUList but should return an appropriate HDU, or that it returns an HDU and should return a list?

mwcraig avatar Jul 28 '22 14:07 mwcraig

It currently returns HDUs which is fine but the docstring says HDUList. This is just a docs issue not API.

astrofrog avatar Jul 29 '22 12:07 astrofrog