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

A syrupy replacement #2473

Merged
merged 130 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from 126 commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
314cf30
restructure of geometry
wkerzendorf Sep 28, 2023
d353133
add radial1d boundary logic
wkerzendorf Oct 4, 2023
2475551
black format
wkerzendorf Oct 4, 2023
e6d1697
several fixes
wkerzendorf Oct 4, 2023
3c53cda
fix epsilon
wkerzendorf Oct 4, 2023
6dce2b4
add testing of boundaries
wkerzendorf Oct 4, 2023
1fdcea8
change the r_inner_active
wkerzendorf Oct 4, 2023
56e9da5
first integration with `from_config` working
wkerzendorf Oct 7, 2023
f6743d7
hunting down density indexing bug
wkerzendorf Oct 8, 2023
b55b21d
all model tests (without csvy) pass
wkerzendorf Oct 8, 2023
ed978d9
more fixes
wkerzendorf Oct 9, 2023
cae9c19
fix of model to simulation_state
wkerzendorf Oct 9, 2023
d829e73
fix inner boundary packet error
wkerzendorf Oct 9, 2023
9592a97
fix some leftovers
wkerzendorf Oct 10, 2023
4da6869
final fix for csvy
wkerzendorf Oct 10, 2023
f381d2e
blackify
wkerzendorf Oct 10, 2023
e59741d
restructure to readers and remove some leftover code
wkerzendorf Oct 11, 2023
a42dd55
further cleanup
wkerzendorf Oct 11, 2023
3288c6c
first start of the restructure
wkerzendorf Oct 11, 2023
518a8f9
add comment about removing quantitiness
wkerzendorf Oct 11, 2023
c78b6de
add velocity check
wkerzendorf Oct 11, 2023
006ca9d
add new abundance functions
wkerzendorf Oct 12, 2023
9c680a8
remove default units
wkerzendorf Oct 12, 2023
268bd23
add new matter module
wkerzendorf Oct 12, 2023
6b03e93
several restructures. move decay from io to tardis/model/matter
wkerzendorf Oct 12, 2023
3114413
mid restructure
wkerzendorf Oct 13, 2023
217dcf2
slow progress on abundance refactor
wkerzendorf Oct 16, 2023
78055b4
include effective_element_masses
wkerzendorf Oct 22, 2023
73f5175
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf Oct 22, 2023
b96d717
further updates
wkerzendorf Nov 2, 2023
08ea21d
fix of csvy readers
wkerzendorf Nov 2, 2023
f0fc7c2
last fixes to custom abundance widget
wkerzendorf Nov 4, 2023
fe7c415
restructuring the radiation field
wkerzendorf Nov 5, 2023
226fb57
some cleanup
wkerzendorf Nov 5, 2023
cbd025e
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf Nov 5, 2023
afb9613
cleanup
wkerzendorf Nov 5, 2023
daf12a5
further cleanup
wkerzendorf Nov 5, 2023
f2d26a8
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf Nov 5, 2023
7575512
clearnup
wkerzendorf Nov 5, 2023
dc34343
changes
wkerzendorf Nov 6, 2023
37d36e1
remove matter base.py
wkerzendorf Nov 8, 2023
4a77a4a
removing matter
wkerzendorf Nov 8, 2023
dbd47cc
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf Nov 8, 2023
d1792bf
fixed last tests
wkerzendorf Nov 20, 2023
c757848
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf Nov 20, 2023
1f42760
first commit for regression_data
wkerzendorf Nov 20, 2023
5b1c7b2
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf Nov 20, 2023
398631a
add several parsers
wkerzendorf Nov 20, 2023
ed60c0f
add composition
wkerzendorf Nov 20, 2023
8723fdf
remove isotopemassfractions
wkerzendorf Nov 20, 2023
08874ca
some small fixes
wkerzendorf Nov 20, 2023
d89b957
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf Nov 20, 2023
1da7ed0
fixed w, t_rad to dilution_factor, t_radiative
wkerzendorf Nov 20, 2023
9f28ecd
add setters for w, t_rad
wkerzendorf Nov 20, 2023
0d85540
several fixes for instantiating the right t_rads.
wkerzendorf Nov 21, 2023
7161791
add the from_config atom_data
wkerzendorf Nov 21, 2023
4f4aad6
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf Nov 21, 2023
f65a2d7
fixing model.ipynb
wkerzendorf Nov 21, 2023
cbfe685
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf Nov 21, 2023
b961734
fix some more tests
wkerzendorf Nov 21, 2023
1c38607
fix tests
wkerzendorf Nov 23, 2023
c99e9d4
fix some of the issues wdigets
wkerzendorf Nov 23, 2023
4c0b49a
assert mass fractions positive.
wkerzendorf Nov 23, 2023
8e0de5c
add radiation_field_state
wkerzendorf Nov 23, 2023
fcd34bb
Fix isotope mass fraction typo and t_radiatve duplicate definition
wkerzendorf Nov 27, 2023
1e3a035
Document remove functionality for effective element masses
wkerzendorf Nov 27, 2023
af1f114
Fix variable name in
wkerzendorf Nov 27, 2023
203bae0
Refactor test names and variable names in
wkerzendorf Nov 27, 2023
56aaa8c
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf Nov 27, 2023
2a50667
Refactor gamma ray simulation setup and test
wkerzendorf Nov 29, 2023
b17b7c7
fix gamma ray tests
wkerzendorf Nov 29, 2023
a479cf6
Add model_isotope_time_0 property to abundances
wkerzendorf Nov 29, 2023
6d64b2d
Add test for montecarlo main loop with vpacket
wkerzendorf Nov 29, 2023
b92158d
Refactor config_reader and config_validator
wkerzendorf Nov 29, 2023
e56ddcc
Fix model_isotope_time_0 property in
wkerzendorf Nov 29, 2023
29fa091
Refactor simulation module to use pathlib
wkerzendorf Nov 29, 2023
8dff14e
remove bad comment and refactor with ruff
wkerzendorf Nov 29, 2023
fcb5dba
Fix variable name in test_simulation_state_mass()
wkerzendorf Nov 29, 2023
7da18f3
Fix unit conversion in calculate_cell_masses
wkerzendorf Nov 29, 2023
1bb7266
Fix logger debug message in CSV reader and update
wkerzendorf Nov 29, 2023
821f4ce
black formatting
wkerzendorf Nov 29, 2023
2257093
Refactor code to use composition variable in
wkerzendorf Nov 29, 2023
e105e71
Merge remote-tracking branch 'upstream/master' into restructure/abund…
wkerzendorf Nov 30, 2023
75840d3
Refactor imports in atom_web_download.py and
wkerzendorf Nov 30, 2023
59d5eff
fix for documentation not builiding
wkerzendorf Dec 4, 2023
1f65771
add fix for model_isotope_time_0
wkerzendorf Dec 4, 2023
dd6ba4f
fix grid test
wkerzendorf Dec 4, 2023
5391968
restructure the grid
wkerzendorf Dec 4, 2023
9706437
final change
wkerzendorf Dec 4, 2023
512d737
Merge branch 'restructure/abundance' into restructure/radiation_field
wkerzendorf Dec 4, 2023
c6d3a59
add stuff
wkerzendorf Dec 4, 2023
d9a191c
add vpacket_log
wkerzendorf Dec 4, 2023
b31561e
Refactor model_reader.py and shell_info.py
wkerzendorf Dec 4, 2023
f438ec3
Update damping constants and variable names
wkerzendorf Dec 4, 2023
ef8cf30
fix w in several places in tardis
wkerzendorf Dec 4, 2023
361e0b7
slowly fixing radiation_field changes
wkerzendorf Dec 4, 2023
d5cb35d
Merge remote-tracking branch 'origin/restructure/radiation_field' int…
wkerzendorf Dec 4, 2023
6244535
last fix
wkerzendorf Dec 4, 2023
3c8f3da
change hdf from model to simulation_state
wkerzendorf Dec 4, 2023
815b0d8
fixing model->simulation-state
wkerzendorf Dec 4, 2023
5925f6e
Merge remote-tracking branch 'upstream/master' into restructure/radia…
wkerzendorf Dec 4, 2023
81ebd21
Fix model_reader.py imports and formatting issues
wkerzendorf Dec 4, 2023
e24f1fa
Refactor variable names for clarity and
wkerzendorf Dec 4, 2023
50d3ec3
Update variable names in model.ipynb
wkerzendorf Dec 4, 2023
566d279
Update variable name for average temperature
wkerzendorf Dec 4, 2023
871b849
Merge branch 'restructure/radiation_field' into tests/regression_data
wkerzendorf Dec 7, 2023
eb0e055
Implement regression data configurations
wkerzendorf Dec 9, 2023
d0c26dd
Refactor snapshot fixtures and add regression data
wkerzendorf Dec 9, 2023
67236a4
Update to new testing framework
wkerzendorf Dec 10, 2023
5e04422
Merge remote-tracking branch 'origin/restructure/radiation_field' int…
wkerzendorf Dec 10, 2023
e18bfe0
Refactor imports and fixtures in conftest.py and
wkerzendorf Dec 10, 2023
a68a006
Make regression-data optional
wkerzendorf Dec 10, 2023
f219356
Fix regression data synchronization in plasma
wkerzendorf Dec 10, 2023
a949f49
Refactor variable names in model reader and
wkerzendorf Dec 10, 2023
56a948d
Refactor store_model_to_hdf to
wkerzendorf Dec 10, 2023
2e6caac
Refactor HDF file handling and model reader
wkerzendorf Dec 11, 2023
1cc8004
add docstr
wkerzendorf Dec 11, 2023
e5dedcc
Merge branch 'restructure/radiation_field' into tests/regression_data
wkerzendorf Dec 11, 2023
0044907
Merge remote-tracking branch 'upstream/master' into tests/regression_…
wkerzendorf Dec 11, 2023
f1151c3
Remove syrupy_extensions.py
wkerzendorf Dec 11, 2023
b0e6eac
setting up regression with github actions
wkerzendorf Dec 15, 2023
6cc25b7
Update LFS cache IDs for refdata and regression
wkerzendorf Dec 16, 2023
ccf0a99
Fix test_montecarlo_radial1d function
wkerzendorf Dec 16, 2023
71f1317
Update sync_hdf_store method in RegressionData class
wkerzendorf Dec 16, 2023
0a1ae4a
Refactor test_base.py for improved accuracy and precision
wkerzendorf Dec 16, 2023
74cf7a2
update docstrings
wkerzendorf Dec 16, 2023
fb09b33
Fix warnings and add HDF output in sdec_plot.ipynb and cleanup regres…
wkerzendorf Dec 20, 2023
3e86d61
Update demo.hdf file
wkerzendorf Dec 21, 2023
69e85cf
Update URL for atomic data repository
wkerzendorf Dec 24, 2023
5ff5432
Refactor code to remove unnecessary conversion to numpy array in test…
wkerzendorf Dec 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 40 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

env:
CACHE_NUMBER: 0 # increase to reset cache manually
PYTEST_FLAGS: --tardis-refdata=${{ github.workspace }}/tardis-refdata --tardis-snapshot-data=${{ github.workspace }}/tardis-regressions
PYTEST_FLAGS: --tardis-refdata=${{ github.workspace }}/tardis-refdata --tardis-regression-data=${{ github.workspace }}/tardis-regression-data
--cov=tardis --cov-report=xml --cov-report=html
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand Down Expand Up @@ -62,36 +62,68 @@ jobs:

- name: Restore LFS cache
uses: actions/cache/restore@v3
id: lfs-cache
id: lfs-cache-refdata
with:
path: tardis-refdata/.git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('tardis-refdata/.lfs-assets-id') }}-v1

- name: Git LFS Pull
run: git lfs pull
working-directory: tardis-refdata
if: steps.lfs-cache.outputs.cache-hit != 'true'
if: steps.lfs-cache-refdata.outputs.cache-hit != 'true'

- name: Git LFS Checkout
run: git lfs checkout
working-directory: tardis-refdata
if: steps.lfs-cache.outputs.cache-hit == 'true'
if: steps.lfs-cache-refdata.outputs.cache-hit == 'true'

- name: Save LFS cache if not found
# uses fake ternary
# for reference: https://github.com/orgs/community/discussions/26738#discussioncomment-3253176
if: ${{ steps.lfs-cache.outputs.cache-hit != 'true' && always() || false }}
uses: actions/cache/save@v3
id: lfs-cache-save
id: lfs-cache-refdata-save
with:
path: tardis-refdata/.git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('tardis-refdata/.lfs-assets-id') }}-v1

- name: Clone tardis-sn/tardis-regressions
- name: Clone tardis-sn/tardis-regression-data
uses: actions/checkout@v4
with:
repository: tardis-sn/tardis-regressions
path: tardis-regressions
repository: tardis-sn/tardis-regression-data
path: tardis-regression-data

- name: Create LFS file list
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
working-directory: tardis-refdata

- name: Restore LFS cache
uses: actions/cache/restore@v3
id: lfs-cache-regression-data
with:
path: tardis-regression-data/.git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('tardis-regression-data/.lfs-assets-id') }}-v1

- name: Git LFS Pull
run: git lfs pull
working-directory: tardis-regression-data
if: steps.lfs-cache-regression-data.outputs.cache-hit != 'true'

- name: Git LFS Checkout
run: git lfs checkout
working-directory: tardis-regression-data
if: steps.lfs-cache-regression-data.outputs.cache-hit == 'true'

- name: Save LFS cache if not found
# uses fake ternary
# for reference: https://github.com/orgs/community/discussions/26738#discussioncomment-3253176
if: ${{ steps.lfs-cache.outputs.cache-hit != 'true' && always() || false }}
uses: actions/cache/save@v3
id: lfs-cache-regression-data-save
with:
path: tardis-regression-data/.git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('tardis-regression-data/.lfs-assets-id') }}-v1


- name: Setup environment
uses: conda-incubator/setup-miniconda@v2
Expand Down
72 changes: 23 additions & 49 deletions tardis/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
import os
from pathlib import Path

import pandas as pd
import pytest
from astropy.version import version as astropy_version

from tardis.io.configuration.config_reader import Configuration
from tardis.io.util import YAMLLoader, yaml_load_file
from tardis.simulation import Simulation
from tardis.tests.fixtures.atom_data import *
from tardis.tests.fixtures.regression_data import regression_data

# ensuring that regression_data is not removed by ruff
assert regression_data is not None

"""Configure Test Suite.
This file is used to configure the behavior of pytest when using the Astropy
Expand All @@ -7,10 +23,6 @@
"""

import os
from pathlib import Path

from astropy.version import version as astropy_version

# For Astropy 3.0 and later, we can use the standalone pytest plugin
if astropy_version < "3.0":
Expand Down Expand Up @@ -70,32 +82,24 @@ def pytest_configure(config):
# To ignore some specific deprecation warning messages for Python version
# MAJOR.MINOR or later, add:
# warnings_to_ignore_by_pyver={(MAJOR, MINOR): ['Message to ignore']}
# from astropy.tests.helper import enable_deprecations_as_exceptions # noqa
# from astropy.tests.helper import enable_deprecations_as_exceptions
# enable_deprecations_as_exceptions()

# -------------------------------------------------------------------------
# Here the TARDIS testing stuff begins
# -------------------------------------------------------------------------

import re
import pytest
import pandas as pd
from tardis.io.util import yaml_load_file, YAMLLoader
from tardis.io.configuration.config_reader import Configuration
from tardis.simulation import Simulation
from tardis.util.syrupy_extensions import (
SingleFileSanitizedNames,
NumpySnapshotExtenstion,
PandasSnapshotExtenstion,
)

pytest_plugins = "syrupy"


def pytest_addoption(parser):
parser.addoption(
"--tardis-refdata", default=None, help="Path to Tardis Reference Folder"
)
parser.addoption(
"--tardis-regression-data",
default=None,
help="Path to the TARDIS regression data directory",
)

parser.addoption(
"--integration-tests",
dest="integration-tests",
Expand All @@ -108,13 +112,6 @@ def pytest_addoption(parser):
default=False,
help="generate reference data instead of testing",
)

parser.addoption(
"--tardis-snapshot-data",
default=None,
help="Path to Tardis Snapshot Folder",
)

parser.addoption(
"--less-packets",
action="store_true",
Expand Down Expand Up @@ -168,9 +165,6 @@ def tardis_snapshot_path(request):
)


from tardis.tests.fixtures.atom_data import *


@pytest.yield_fixture(scope="session")
def tardis_ref_data(tardis_ref_path, generate_reference):
if generate_reference:
Expand Down Expand Up @@ -238,23 +232,3 @@ def simulation_verysimple(config_verysimple, atomic_dataset):
sim = Simulation.from_config(config_verysimple, atom_data=atomic_data)
sim.iterate(4000)
return sim


# -------------------------------------------------------------------------
# fixtures and plugins for syrupy/regression data testing
# -------------------------------------------------------------------------


@pytest.fixture
def pandas_snapshot_extention():
return PandasSnapshotExtenstion


@pytest.fixture
def numpy_snapshot_extension():
return NumpySnapshotExtenstion


@pytest.fixture
def singlefilesanitized():
return SingleFileSanitizedNames
102 changes: 53 additions & 49 deletions tardis/montecarlo/montecarlo_numba/tests/test_base.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import pytest
import pandas as pd
import os
import numpy.testing as npt
from copy import deepcopy
from tardis.base import run_tardis
from pandas.testing import assert_frame_equal

import numpy.testing as npt
import pytest

from tardis.montecarlo import (
montecarlo_configuration as montecarlo_configuration,
Expand Down Expand Up @@ -35,8 +32,7 @@ def montecarlo_main_loop_config(

def test_montecarlo_main_loop(
montecarlo_main_loop_config,
tardis_ref_path,
request,
regression_data,
atomic_dataset,
):
atomic_dataset = deepcopy(atomic_dataset)
Expand All @@ -48,26 +44,21 @@ def test_montecarlo_main_loop(
montecarlo_main_loop_simulation.run_convergence()
montecarlo_main_loop_simulation.run_final()

compare_fname = os.path.join(
tardis_ref_path, "montecarlo_1e5_compare_data.h5"
expected_hdf_store = regression_data.sync_hdf_store(
montecarlo_main_loop_simulation
)
if request.config.getoption("--generate-reference"):
montecarlo_main_loop_simulation.to_hdf(compare_fname, overwrite=True)

# Load compare data from refdata
expected_nu = pd.read_hdf(
compare_fname, key="/simulation/transport/output_nu"
).values
expected_energy = pd.read_hdf(
compare_fname, key="/simulation/transport/output_energy"
).values
expected_nu_bar_estimator = pd.read_hdf(
compare_fname, key="/simulation/transport/nu_bar_estimator"
).values
expected_j_estimator = pd.read_hdf(
compare_fname, key="/simulation/transport/j_estimator"
).values

expected_nu = expected_hdf_store["/simulation/transport/output_nu"]
expected_energy = expected_hdf_store["/simulation/transport/output_energy"]
expected_nu_bar_estimator = expected_hdf_store[
"/simulation/transport/nu_bar_estimator"
]
expected_j_estimator = expected_hdf_store[
"/simulation/transport/j_estimator"
]
expected_hdf_store.close()
actual_energy = montecarlo_main_loop_simulation.transport.output_energy
actual_nu = montecarlo_main_loop_simulation.transport.output_nu
actual_nu_bar_estimator = (
Expand All @@ -84,11 +75,9 @@ def test_montecarlo_main_loop(
npt.assert_allclose(actual_nu.value, expected_nu, rtol=1e-13)


@pytest.mark.xfail(reason="need to store virtual packet data in hdf5")
def test_montecarlo_main_loop_vpacket_log(
montecarlo_main_loop_config,
tardis_ref_path,
request,
regression_data,
atomic_dataset,
):
atomic_dataset = deepcopy(atomic_dataset)
Expand All @@ -102,25 +91,24 @@ def test_montecarlo_main_loop_vpacket_log(
montecarlo_main_loop_simulation.run_convergence()
montecarlo_main_loop_simulation.run_final()

compare_fname = os.path.join(
tardis_ref_path, "montecarlo_1e5_compare_data.h5"
expected_hdf_store = regression_data.sync_hdf_store(
montecarlo_main_loop_simulation
)
if request.config.getoption("--generate-reference"):
montecarlo_main_loop_simulation.to_hdf(compare_fname, overwrite=True)

# Load compare data from refdata
expected_nu = pd.read_hdf(
compare_fname, key="/simulation/transport/output_nu"
).values
expected_energy = pd.read_hdf(
compare_fname, key="/simulation/transport/output_energy"
).values
expected_nu_bar_estimator = pd.read_hdf(
compare_fname, key="/simulation/transport/nu_bar_estimator"
).values
expected_j_estimator = pd.read_hdf(
compare_fname, key="/simulation/transport/j_estimator"
).values
expected_nu = expected_hdf_store["/simulation/transport/output_nu"]
expected_energy = expected_hdf_store["/simulation/transport/output_energy"]
expected_nu_bar_estimator = expected_hdf_store[
"/simulation/transport/nu_bar_estimator"
]
expected_j_estimator = expected_hdf_store[
"/simulation/transport/j_estimator"
]
expected_vpacket_log_nus = expected_hdf_store[
"/simulation/transport/virt_packet_nus"
]
expected_vpacket_log_energies = expected_hdf_store[
"/simulation/transport/virt_packet_energies"
]

transport = montecarlo_main_loop_simulation.transport
actual_energy = transport.output_energy
Expand All @@ -129,11 +117,27 @@ def test_montecarlo_main_loop_vpacket_log(
actual_j_estimator = montecarlo_main_loop_simulation.transport.j_estimator
actual_vpacket_log_nus = transport.virt_packet_nus
actual_vpacket_log_energies = transport.virt_packet_energies

expected_hdf_store.close()
# Compare
npt.assert_allclose(
actual_nu_bar_estimator, expected_nu_bar_estimator, rtol=1e-13
actual_nu_bar_estimator,
expected_nu_bar_estimator,
rtol=1e-12,
atol=1e-15,
)
npt.assert_allclose(
actual_j_estimator, expected_j_estimator, rtol=1e-12, atol=1e-15
)
npt.assert_allclose(
actual_energy.value, expected_energy, rtol=1e-12, atol=1e-15
)
npt.assert_allclose(actual_nu.value, expected_nu, rtol=1e-12, atol=1e-15)
npt.assert_allclose(
actual_vpacket_log_nus, expected_vpacket_log_nus, rtol=1e-12, atol=1e-15
)
npt.assert_allclose(
actual_vpacket_log_energies,
expected_vpacket_log_energies,
rtol=1e-12,
atol=1e-15,
)
npt.assert_allclose(actual_j_estimator, expected_j_estimator, rtol=1e-13)
npt.assert_allclose(actual_energy.value, expected_energy, rtol=1e-13)
npt.assert_allclose(actual_nu.value, expected_nu, rtol=1e-13)
42 changes: 0 additions & 42 deletions tardis/plasma/tests/conftest.py

This file was deleted.

Loading
Loading