diff --git a/pcmdi_metrics/variability_mode/variability_modes_driver.py b/pcmdi_metrics/variability_mode/variability_modes_driver.py index 1ccfbf7d1..90f53e435 100755 --- a/pcmdi_metrics/variability_mode/variability_modes_driver.py +++ b/pcmdi_metrics/variability_mode/variability_modes_driver.py @@ -538,7 +538,7 @@ debug_print(f"model_path_list: {model_path_list}", debug) # Find where run can be gripped from given filename template for modpath - if realization == "*": + if "*" in realization: run_in_modpath = re.split( "[._]", fill_template(