From 54c1f7b76b3c053b65fcf31f4cbb05d7860e712b Mon Sep 17 00:00:00 2001 From: Tyler Hughes Date: Thu, 23 May 2024 08:15:43 -0400 Subject: [PATCH] fix black, submodules --- docs/notebooks | 2 +- tests/test_plugins/test_mode_solver.py | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/docs/notebooks b/docs/notebooks index 01813e8ea1..af8082da31 160000 --- a/docs/notebooks +++ b/docs/notebooks @@ -1 +1 @@ -Subproject commit 01813e8ea1b412e616be40d2bf00ca3dfef0a3ba +Subproject commit af8082da312401c10c8c8ad70f0172b10dfa11a3 diff --git a/tests/test_plugins/test_mode_solver.py b/tests/test_plugins/test_mode_solver.py index 0e4bdf0756..edcf9975f7 100644 --- a/tests/test_plugins/test_mode_solver.py +++ b/tests/test_plugins/test_mode_solver.py @@ -170,8 +170,6 @@ def mock_download(resource_id, remote_filename, to_file, *args, **kwargs): ) - - def test_compute_modes(): """Test direct call to `compute_modes`.""" eps_cross = np.random.rand(10, 10) @@ -869,6 +867,7 @@ def test_mode_solver_method_defaults(): sim = ms.sim_with_monitor(name="test") assert np.allclose(sim.monitors[-1].freqs, ms.freqs) + @responses.activate def test_mode_solver_web_run_batch(mock_remote_api): """Testing run_batch function for the web mode solver.""" @@ -905,11 +904,7 @@ def test_mode_solver_web_run_batch(mock_remote_api): ) # Run mode solver one at a time - results = msweb.run_batch( - mode_solver_list, - verbose=False, - folder_name="Mode Solver" - ) + results = msweb.run_batch(mode_solver_list, verbose=False, folder_name="Mode Solver") [print(type(x)) for x in results] assert all([isinstance(x, ModeSolverData) for x in results]) assert (results[i].n_eff.shape == (num_freqs, i + 1) for i in range(num_of_sims))