Skip to content

FileNotFoundError in regression tests #3354

@Aaryan-Dadu

Description

@Aaryan-Dadu

Describe the bug

While running the full test suite with the regression data, two equilibrium plasma tests fail due to filename mismatch between the expected files and the files present in the tardis-regression-data repository
The failing tests are: tardis/plasma/equilibrium/tests/test_level_populations.py and tardis/plasma/equilibrium/tests/test_rate_matrix.py

possible fix: The FileNotFoundError is due to file name mismatch test_rate_matrix_solver__collisional_rate_solver0-radiative_transitions0__.h5 is the file name in data while after renaming it to test_rate_matrix_solver__radiative_transitions0-collisional_rate_solver0__.h5 the test passes, similar result for test_solve__collisional_rate_solver0-radiative_transitions0__.h5

To Reproduce

  1. Clone tardis-regression-data git clone https://github.com/tardis-sn/tardis-regression-data
  2. git lfs install
  3. git lfs pull
  4. run the test suite

Screenshots

Image
Image

(After Renaming)

System

  • OS:
    • GNU/Linux
    • macOS

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions