Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Jul 23, 2024
1 parent 32e7b01 commit aa1467a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scico/test/flax/test_examples_flax.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
generate_blur_data,
generate_ct_data,
have_astra,
have_ray,
have_xdesign,
have_ray_and_xdesign,
)
from scico.flax.examples.data_preprocessing import (
CenterCrop,
Expand All @@ -37,7 +36,7 @@
# These tests are for the scico.flax.examples module, NOT the example scripts


@pytest.mark.skipif(not have_xdesign, reason="xdesign package not installed")
@pytest.mark.skipif(not have_ray_and_xdesign, reason="ray or xdesign package not installed")
def test_foam1_gen():
seed = 4444
N = 32
Expand All @@ -48,7 +47,7 @@ def test_foam1_gen():
assert dt.shape == (ndata, N, N, 1)


@pytest.mark.skipif(not have_xdesign, reason="xdesign package not installed")
@pytest.mark.skipif(not have_ray_and_xdesign, reason="ray or xdesign package not installed")
def test_foam2_gen():
seed = 4321
N = 32
Expand All @@ -59,7 +58,7 @@ def test_foam2_gen():
assert dt.shape == (ndata, N, N, 1)


@pytest.mark.skipif(not have_ray, reason="ray package not installed")
@pytest.mark.skipif(not have_ray_and_xdesign, reason="ray or xdesign package not installed")
def test_distdatagen():
N = 16
nimg = 8
Expand Down

0 comments on commit aa1467a

Please sign in to comment.