Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Labels:
-
Story Points:2
-
Epic Link:
-
Team:Data Release Production
Description
im = afwImage.ImageF(10, 20)
|
ima = im.array
|
|
afwImage.ImageF(ima)
|
afwImage.Image(ima, dtype=ima.dtype)
|
fails with
----> 5 afwImage.Image(ima, dtype=ima.dtype)
|
|
/Users/lsst/products/DarwinX86/miniconda/latest/envs/lsst-13_0/var/opt/eups/DarwinX86/utils/13.0-7-gd7d2357/python/lsst/utils/wrappers.pyc in __call__(self, *args, **kwds)
|
272 if cls is None:
|
273 d = {k: v for k, v in zip(self.TEMPLATE_PARAMS, key)}
|
--> 274 raise TypeError("No registered subclass for {}.".format(d))
|
275 return cls(*args, **kwds)
|
276
|
|
TypeError: No registered subclass for {'dtype': dtype('float32')}.
|
Pair coding