diff --git a/tests/test_freanalysis_clouds.py b/tests/test_freanalysis_clouds.py index 4d13212..a3db6c9 100644 --- a/tests/test_freanalysis_clouds.py +++ b/tests/test_freanalysis_clouds.py @@ -47,7 +47,8 @@ def create_data_catalog(path, output="data-catalog"): yaml_path = Path(__file__).resolve().parent / "mdtf_timeslice_catalog.yaml" # Hack to stop click from exiting. - command = ["python", "-m", "gen_intake_gfdl", str(path), output, + # we have to move create catalog as its own pytest in the conda environment perhaps + command = ["$CONDA/envs/analysis-script-testing/bin/python", "-m", "gen_intake_gfdl", str(path), output, "--config", str(yaml_path)] run(command, check=True) return Path(f"{output}.json").resolve(), Path(f"{output}.csv").resolve()