mwcraig / reducer

Friendly professional-level data reduction...documentation here:
https://reducer.readthedocs.org
BSD 3-Clause "New" or "Revised" License
26 stars 10 forks source link

'FlexBox' no longer an attribute in ipywidgets 6.0.0 #155

Closed janga1997 closed 7 years ago

janga1997 commented 7 years ago

I ran into AttributeErrors when running the example notebooks. I don't know what it has been replaced by.

The below warnings are also being generated repeatedly. I think those are just warnings about the extension not being .fits?

WARNING: no FITS files in the collection. [ccdproc.image_collection]
WARNING:astropy:no FITS files in the collection.

And for some reason various .display() methods don't display anything. I tried jupyter nbextension enable --py widgetsnbextension , but that doesn't seem to change anything. I've googled around a bit, and it may be a issue with naming the method display(), as it may conflict with display methods in in the libraries.

mwcraig commented 7 years ago

@janga1997 -- thanks for reporting. Are you hitting this with the latest released version or running from master?

janga1997 commented 7 years ago

@mwcraig I didn't realize you pushed some changes recently. My local copy seems to be a month old. It does work running from master, but no actual images are being loaded. And the No FITS files warning seems to persist.

mwcraig commented 7 years ago

Is that happening when you first run all of the cells, or as you go through cell-by-cell? In some of the reduction cells that would not be surprising if you are running all of the cells at once because the there are no reduced images until you have made the correct settings in the widgets and run the reductions steps.

janga1997 commented 7 years ago

I am going cell-by-cell. Is there something else that could be doing wrong?

janga1997 commented 7 years ago

That's weird. The default placeholder images seem to be *001*.fit. And if I select a different image, it does seem to work, and works again if I select the default image again. There seems to a problem when loading in the default images.

mwcraig commented 7 years ago

Are you getting any errors when you run the cell below (and all of the ones preceding it)?

reducer_reducer-template_ipynb_at_master_ _mwcraig_reducer

janga1997 commented 7 years ago

No errors. Only the warnings as stated above.

mwcraig commented 7 years ago

What happens when you run the cell that follows that? Are you getting a display like this: image

mwcraig commented 7 years ago

fyi, about to be away from keyboard for ~2 hours