Skip to content

Commit

Permalink
remove useless smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
tjlane committed Aug 22, 2024
1 parent 39fa4b1 commit 6ebf85f
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/unit/test_tv.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,6 @@ def noisy_map() -> rs.DataSet:
return displaced_single_atom_difference_map_coefficients(noise_sigma=0.03)


def test_tv_denoise_difference_map_smoke(random_difference_map: rs.DataSet) -> None:
# test sequence pf specified lambda
tv.tv_denoise_difference_map(
difference_map_coefficients=random_difference_map,
lambda_values_to_scan=[1.0, 2.0],
)
# test golden optimizer
tv.TV_LAMBDA_RANGE = (1.0, 2.0)
tv.tv_denoise_difference_map(
difference_map_coefficients=random_difference_map,
)


@pytest.mark.parametrize("lambda_values_to_scan", [None, np.logspace(-3, 2, 100)])
def test_tv_denoise_difference_map(
lambda_values_to_scan: None | Sequence[float], noise_free_map: rs.DataSet, noisy_map: rs.DataSet, diffmap_labels: MapLabels,

Check failure on line 118 in test/unit/test_tv.py

View workflow job for this annotation

GitHub Actions / build (3.11)

Ruff (E501)

test/unit/test_tv.py:118:101: E501 Line too long (128 > 100)
Expand Down

0 comments on commit 6ebf85f

Please sign in to comment.