Skip to content

Commit

Permalink
Update test_freanalysis_clouds.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aradhakrishnanGFDL authored Jul 24, 2024
1 parent 3b463d0 commit 47dc923
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_freanalysis_clouds.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 47dc923

Please sign in to comment.