Skip to content

Commit

Permalink
Don't need these apparently
Browse files Browse the repository at this point in the history
  • Loading branch information
SolarDrew committed Feb 11, 2025
1 parent 3ac9be9 commit 1761b71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
9 changes: 3 additions & 6 deletions dkist/dataset/tests/test_tiled_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ def test_tiled_dataset_from_components(dataset):
@pytest.mark.remote_data
@pytest.mark.parametrize("share_zscale", [True, False], ids=["share_zscale", "indpendent_zscale"])
def test_tileddataset_plot(share_zscale):
from dkist.data.sample import VBI_AJQWW, download_all_sample_data
download_all_sample_data()
from dkist.data.sample import VBI_AJQWW
ori_ds = load_dataset(VBI_AJQWW)

newtiles = []
Expand All @@ -108,8 +107,7 @@ def test_tileddataset_plot(share_zscale):
def test_tileddataset_plot_limit_swapping(swap_tile_limits):
# Also test that row/column sizes are correct

from dkist.data.sample import VBI_AJQWW, download_all_sample_data
download_all_sample_data()
from dkist.data.sample import VBI_AJQWW
ori_ds = load_dataset(VBI_AJQWW)

# Swap WCS to make the `swap_tile_limits` option more natural
Expand Down Expand Up @@ -152,8 +150,7 @@ def test_tileddataset_plot_limit_swapping(swap_tile_limits):

@pytest.mark.remote_data
def test_tileddataset_plot_non2d_sliceindex():
from dkist.data.sample import VBI_AJQWW, download_all_sample_data
download_all_sample_data()
from dkist.data.sample import VBI_AJQWW
ds = load_dataset(VBI_AJQWW)

newtiles = []
Expand Down
6 changes: 2 additions & 4 deletions dkist/tests/test_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ def test_dataset_compute_data_full_files(benchmark):
because it doesn't support that. This test therefore only assesses the
performance of the compute step.
"""
from dkist.data.sample import VISP_BKPLX, download_all_sample_data
download_all_sample_data()
from dkist.data.sample import VISP_BKPLX
ds = load_dataset(VISP_BKPLX)[0, :15]
benchmark(ds.data.compute)

Expand All @@ -60,8 +59,7 @@ def test_dataset_compute_data_full_files(benchmark):
@pytest.mark.benchmark
@pytest.mark.remote_data
def test_dataset_compute_data_partial_files(benchmark):
from dkist.data.sample import VISP_BKPLX, download_all_sample_data
download_all_sample_data()
from dkist.data.sample import VISP_BKPLX
ds = load_dataset(VISP_BKPLX)[0, :15, :100, :100]
benchmark(ds.data.compute)

Expand Down

0 comments on commit 1761b71

Please sign in to comment.