tardis-sn/tardis

Duplicate level index when using continuum interaction

Closed this issue · 4 comments

Describe the bug

When enabling continuum interactions duplicate level indices appear (see screenshot), causing TARDIS to crash during the re-indexing process tardis/plasma/properties/transition_probabilities.py:362

Currently #2443 implements a bandaid fix that throws a warning. Once Carsus implemented a fix upstream, this warning should be removed and an exception should be raised instead.

To Reproduce

Screenshots

2023-10-11T15:21:24,292949360-04:00

System

  • OS:

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

Additional context

Should be dealt with in Carsus (see carsus#384).

This should stay open as a reminder to remove the warning added in #2443 once Carsus fixed the problem, and instead raise an exception. I edited the issue to reflect that.

Is this not what #2444 is for?

Nevermind, I forgot about that one.