Skip to content

Commit

Permalink
Remove pytest-order
Browse files Browse the repository at this point in the history
  • Loading branch information
lmachadopolettivalle committed Nov 9, 2023
1 parent 9081192 commit 5e3c91f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions karabo/test/test_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,14 @@ def continuous_noise_fits_downloader(
)


@pytest.mark.order(1)
def test_parallelization_by_observation() -> None:
sky = SkyModel.get_GLEAM_Sky([76])
phase_center = [250, -80]
CENTER_FREQUENCIES_HZ = [100e6, 101e6]
CHANNEL_BANDWIDTHS_HZ = [1.0, 2.0]
N_CHANNELS = [2, 4]

sky = sky.filter_by_radius(0, 2.0, phase_center[0], phase_center[1])
sky = sky.filter_by_radius(0, 1.0, phase_center[0], phase_center[1])
telescope = Telescope.constructor("ASKAP")

simulation = InterferometerSimulation(channel_bandwidth_hz=1e6, time_average_sec=1)
Expand All @@ -78,7 +77,7 @@ def test_parallelization_by_observation() -> None:

for i, vis in enumerate(visibilities):
imager = Imager(
vis, imaging_npixel=512, imaging_cellsize=3.878509448876288e-05
vis, imaging_npixel=1024, imaging_cellsize=3.878509448876288e-05
) # imaging cellsize is over-written in the Imager based on max uv dist.
dirty = imager.get_dirty_image()
with tempfile.TemporaryDirectory() as tmpdir:
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ black[jupyter]==23.3.0
pydocstyle==6.3.0
pytest==7.3.1
pytest-cov==4.1.0
pytest-order==1.1.0
pre-commit==3.2.2

# for notebook test runs
Expand Down

0 comments on commit 5e3c91f

Please sign in to comment.