Output:
64 13:"SIG_TELLURIC",
65 14:"NOT_ENOUGH_PSF"}
---> 66 APOGEE_TARGET1_STR= dict((value, key) for key, value in APOGEE_TARGET1.iteritems())
67 APOGEE_TARGET2_STR= dict((value, key) for key, value in APOGEE_TARGET2.iteritems())
68 APOGEE_PIXMASK_STR= dict((value, key) for key, value in APOGEE_PIXMASK.iteritems())
AttributeError: 'dict' object has no attribute 'iteritems'
Input: from apogee.tools import bitmask
Output: 64 13:"SIG_TELLURIC", 65 14:"NOT_ENOUGH_PSF"} ---> 66 APOGEE_TARGET1_STR= dict((value, key) for key, value in APOGEE_TARGET1.iteritems()) 67 APOGEE_TARGET2_STR= dict((value, key) for key, value in APOGEE_TARGET2.iteritems()) 68 APOGEE_PIXMASK_STR= dict((value, key) for key, value in APOGEE_PIXMASK.iteritems())
AttributeError: 'dict' object has no attribute 'iteritems'