Details
-
Type:
Story
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: astrometry_net
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:AP S18-1, AP S18-2, AP S18-3, AP S18-4, AP S18-5, AP S18-6, AP F18-1, AP F18-2, AP F18-3, AP F18-4, AP F18-5
-
Team:Alert Production
Description
Krzysztof Suberlak is trying to use the text2fits.py utility provided by the Stack's astrometry_net package. Unfortunately, it doesn't work with Python 3:
Reading file starfast_ref_obs_s5n6170.txt
|
Column names: ['id', 'ra', 'dec', 'u', 'g', 'r', 'i', 'z', 'y']
|
Traceback (most recent call last):
|
File "/Users/chris/lsst_stack2/stack/miniconda3-4.3.21-10a4fa6/DarwinX86/astrometry_net/0.67.123ff3e.lsst1+4/bin/text2fits.py", line 50, in <module>
|
intvalmap=inulls)
|
File "/Users/chris/lsst_stack2/stack/miniconda3-4.3.21-10a4fa6/DarwinX86/astrometry_net/0.67.123ff3e.lsst1+4/lib/python/astrometry/util/fits.py", line 813, in streaming_text_table
|
for i,line in zip(xrange(Nchunk), f):
|
NameError: name 'xrange' is not defined
|
Please fix it.
Attachments
Issue Links
- is blocked by
-
DM-12869 builds of lsst_distrib fail with setuptools_scm errors
- Done
Easy solution would be to update to a newer upstream from astrometry.net. Unfortunately, we can't test this until
DM-12869is resolved.