tardis icon indicating copy to clipboard operation
tardis copied to clipboard

Bug: Broken modules imported for Gamma Ray

Open airvzxf opened this issue 10 months ago • 0 comments

Describe the bug

Some functions in the module gamma_ray_transport.py were migrated to gamma_ray_channel.py in TARDIS. These changes are shown in the pull request https://github.com/tardis-sn/tardis/pull/2552.

Migrated functions:

  • def calculate_total_decays(inventories, time_delta)
  • def create_isotope_dicts(raw_isotope_abundance, cell_masses)
  • def create_inventories_dict(isotope_dict)

The problem is that these imported modules were not updated in main_gamma_ray_loop.py. It means that some of these functions are imported from gamma_ray_transport rather than gamma_ray_channel.py.

To Reproduce

N/A

Screenshots

N/A

System

  • OS:

    • [ ] GNU/Linux
    • [ ] macOS
  • Environment (conda list):

Additional context

airvzxf avatar Apr 20 '24 03:04 airvzxf