jobovy / apogee

Tools for dealing with APOGEE data
BSD 3-Clause "New" or "Revised" License
43 stars 25 forks source link

'dict' object has no attribute 'iteritems' #50

Closed ElizabethMorh closed 6 years ago

ElizabethMorh commented 6 years ago

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'