-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Labels
Description
Describe the bug
Failure of test_wcs_autolink_emptywcs in all dev jobs, can be tracked down to wcs_autolink returning a non-empty list with one link.
To Reproduce
Test glue/plugins/wcs_autolinking/tests/test_wcs_autolinking.py or manually run WCSLink(data1, data2) with the data as setup there.
Expected behavior
WCSLink should raise in
glue/glue/plugins/wcs_autolinking/wcs_autolinking.py
Lines 210 to 211 in bf65166
| if pixel_cids1 is None: | |
| raise IncompatibleWCS("Can't create WCS link between {0} and {1}".format(data1.label, data2.label)) |
but returns a link with
link._physical_types_* = [None] instead.Might need to check explicitly for valid
_physical_types_ there in addition to pixel_cids1, but perhaps should investigate the responsible change in astropy.wcs first.
Details:
- Operating System: macOS 11.7.10 or any in -dev job, e.g. in
#2547 CI
Reactions are currently unavailable