spacetelescope / imexam

imexam is a python tool for simple image examination, and plotting, with similar functionality to IRAF's imexamine
http://imexam.readthedocs.io
BSD 3-Clause "New" or "Revised" License
74 stars 45 forks source link

problem with ginga import #259

Open KathleenLabrie opened 1 year ago

KathleenLabrie commented 1 year ago

In imexam/ginga_viewer.py, line 24 in commit b397573, there this line that fails:

wcsmod.use('AstropyWCS')

I believe that it should be:

wcsmod.use('astropy')

It does fix the import failure, but I have no idea if the rest of the code works. I just got fed up of seeing this error when I import imexam:

Ginga not installed, use other viewer, or no viewer

I have ginga installed and I'm not even using it and this error shows up all the time.

(Not submitting a PR because as I say above, I don't know if it breaks things afterwards, I just know that it fixes the import error.)

Universebenzene commented 1 year ago

Same as #252