tardis
tardis copied to clipboard
Bug: Broken modules imported for Gamma Ray
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
.
-
tardis/energy_input/main_gamma_ray_loop.py.
-
create_isotope_dicts
. -
calculate_total_decays
. -
create_inventories_dict
.
-
To Reproduce
N/A
Screenshots
N/A
System
-
OS:
- [ ] GNU/Linux
- [ ] macOS
-
Environment (
conda list
):
Additional context