From c07722ee07ab6dcb977d236beab8fe31a913616d Mon Sep 17 00:00:00 2001 From: Teagan King Date: Fri, 7 Feb 2025 12:44:02 -0700 Subject: [PATCH] fix parantheses --- helper_scripts/generate_ilamb_config_files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helper_scripts/generate_ilamb_config_files.py b/helper_scripts/generate_ilamb_config_files.py index ecd2657..e765065 100755 --- a/helper_scripts/generate_ilamb_config_files.py +++ b/helper_scripts/generate_ilamb_config_files.py @@ -133,11 +133,11 @@ def generate_ilamb_model_setup(cesm_root, cupid_config_loc, run_type): print("export ILAMB_ROOT=../ilamb_aux") if run_type == "SP": print( - f"ilamb-run --config {os.path.join(ilamb_config_loc, 'ilamb_nohoff_final_CLM_SP.cfg'} --build_dir {os.path.join(cupid_config_loc, 'ILAMB_output/')} --df_errs {os.path.join(ilamb_config_loc, 'quantiles_Whittaker_cmip5v6.parquet'} --define_regions {os.path.join(ilamb_config_loc, 'DATA/regions/LandRegions.nc'} {os.path.join(ilamb_config_loc, 'DATA/regions/Whittaker.nc'} --regions global --model_setup {os.path.join(cupid_config_loc, 'model_setup.txt')} --filter .clm2.h0.", # noqa: E501 + f"ilamb-run --config {os.path.join(ilamb_config_loc, 'ilamb_nohoff_final_CLM_SP.cfg')} --build_dir {os.path.join(cupid_config_loc, 'ILAMB_output/')} --df_errs {os.path.join(ilamb_config_loc, 'quantiles_Whittaker_cmip5v6.parquet')} --define_regions {os.path.join(ilamb_config_loc, 'DATA/regions/LandRegions.nc')} {os.path.join(ilamb_config_loc, 'DATA/regions/Whittaker.nc')} --regions global --model_setup {os.path.join(cupid_config_loc, 'model_setup.txt')} --filter .clm2.h0.", # noqa: E501 ) elif run_type == "BGC": print( - f"ilamb-run --config {os.path.join(ilamb_config_loc, 'ilamb_nohoff_final_CLM_BGC.cfg'} --build_dir {os.path.join(cupid_config_loc, 'ILAMB_output/')} --df_errs {os.path.join(ilamb_config_loc, 'quantiles_Whittaker_cmip5v6.parquet'} --define_regions {os.path.join(ilamb_config_loc, 'DATA/regions/LandRegions.nc'} {os.path.join(ilamb_config_loc, 'DATA/regions/Whittaker.nc'} --regions global --model_setup {os.path.join(cupid_config_loc, 'model_setup.txt')} --filter .clm2.h0.", # noqa: E501 + f"ilamb-run --config {os.path.join(ilamb_config_loc, 'ilamb_nohoff_final_CLM_BGC.cfg')} --build_dir {os.path.join(cupid_config_loc, 'ILAMB_output/')} --df_errs {os.path.join(ilamb_config_loc, 'quantiles_Whittaker_cmip5v6.parquet')} --define_regions {os.path.join(ilamb_config_loc, 'DATA/regions/LandRegions.nc')} {os.path.join(ilamb_config_loc, 'DATA/regions/Whittaker.nc')} --regions global --model_setup {os.path.join(cupid_config_loc, 'model_setup.txt')} --filter .clm2.h0.", # noqa: E501 ) print("---------")