You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File ~/work/rail/rail_astro_tools/src/rail/tools/photometry_tools.py:503, in DustMapBase.call(self, data)
490 """Return a converted table
491
492 Parameters
(...)
500 The converted version of the table
501 """
502 self.set_data('input', data)
--> 503 self.run()
504 return self.get_handle('output')
File ~/work/rail/rail_astro_tools/src/rail/tools/photometry_tools.py:459, in DustMapBase.run(self)
457 data = self.get_data('input', allow_missing=True)
458 out_data = {}
--> 459 coords = SkyCoord(data['ra'], data['dec'], unit = 'deg',frame='fk5')
460 dust_map_dict = dict(sfd=dustmaps_sfd.SFDQuery)
461 try:
KeyError: 'dec'
Before submitting
Please check the following:
I have described the situation in which the bug arose, including what code was executed, information about my environment, and any applicable data others will need to reproduce the problem.
I have included available evidence of the unexpected behavior (including error messages, screenshots, and/or plots) as well as a descriprion of what I expected instead.
If I have a solution in mind, I have provided an explanation and/or pseudocode and/or task list.
The text was updated successfully, but these errors were encountered:
Bug report
KeyError Traceback (most recent call last)
Cell In[8], line 1
----> 1 deredden_data = dereddener(mags_data)
File ~/work/rail/rail_astro_tools/src/rail/tools/photometry_tools.py:503, in DustMapBase.call(self, data)
490 """Return a converted table
491
492 Parameters
(...)
500 The converted version of the table
501 """
502 self.set_data('input', data)
--> 503 self.run()
504 return self.get_handle('output')
File ~/work/rail/rail_astro_tools/src/rail/tools/photometry_tools.py:459, in DustMapBase.run(self)
457 data = self.get_data('input', allow_missing=True)
458 out_data = {}
--> 459 coords = SkyCoord(data['ra'], data['dec'], unit = 'deg',frame='fk5')
460 dust_map_dict = dict(sfd=dustmaps_sfd.SFDQuery)
461 try:
KeyError: 'dec'
Before submitting
Please check the following:
The text was updated successfully, but these errors were encountered: