Open ytsapras opened 5 years ago
Hi Rache,
I traced the error to a zip statement. For reference, I am using Python 3.7.1.
The error occurs within match_stars_by_position()
To fix it, I replaced:
match_index = np.array(zip(ddx[det_index],vdx[cat_index]))
with
match_index = np.array(list(zip(ddx[det_index],vdx[cat_index])))
There are more zip statement in the code, so you may want to test those out too.
Also, raw_input should be changed to input throughout the code to make it Python 3 compatible.
Some errors I encountered when I run it: In vizier_tools.py, the print statement
print qs
should be converted to Python3 format.Fixing that it fails on calibrate_photometry.py with the following Error report: