Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smoke tests failing for FluxtoMag_and_Deredden_example.ipynb #142

Closed
3 tasks
hangqianjun opened this issue May 20, 2024 · 1 comment
Closed
3 tasks

Smoke tests failing for FluxtoMag_and_Deredden_example.ipynb #142

hangqianjun opened this issue May 20, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hangqianjun
Copy link
Contributor

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:

  • 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.
@hangqianjun hangqianjun added the bug Something isn't working label May 20, 2024
@hangqianjun
Copy link
Contributor Author

Should be resolved with #144; waiting for smoke test run to see if things are fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants