Commit cf03be49 authored by Antoine Berchet's avatar Antoine Berchet
Browse files

Fix path

parent bc4f3ceb
......@@ -23,7 +23,7 @@ from pycif.utils.path import init_dir
marks=pytest.mark.uncertainties),
{"mode": "4dvar", "minimizer": "congrad"},
{"mode": "ensrf"},
pytest.param({"mode": "ensrf", "nsample": 250},
pytest.param({"mode": "ensrf", "nsample": 5},
marks=pytest.mark.uncertainties),
{"mode": "analytical"}
]
......@@ -82,7 +82,7 @@ def test_integration_inversion(dummy_config_inversion, settings, pytestconfig):
posterior_dir = os.path.join(tmpdir, "obsvect_posterior")
elif settings["mode"] == "ensrf":
nsimmax = 2 * settings.get("nsample", nsimmax)
nsimmax = 2 * settings.get("nsample", 1) * nsimmax
mode = {"plugin": {"name": "EnSRF", "version": "std"},
"nsample": nsimmax}
prior_dir = os.path.join(tmpdir, "obsvect_prior")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment