From 09cf4b0e6abf1f5b2b1f5dc2bfff86b7e181a2e3 Mon Sep 17 00:00:00 2001 From: ftong <95+ftong@noreply.example.org> Date: Fri, 19 Jun 2026 14:54:20 +0200 Subject: [PATCH] Update src/seismic_hazard_forecasting.py fix mag_label --- src/seismic_hazard_forecasting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/seismic_hazard_forecasting.py b/src/seismic_hazard_forecasting.py index a5e560b..429a7c2 100644 --- a/src/seismic_hazard_forecasting.py +++ b/src/seismic_hazard_forecasting.py @@ -590,7 +590,7 @@ verbose: {verbose}") torder_min = 0 torder_max = 1 - time, mag_data, lat_dummy, lon_dummy, depth_dummy = read_mat_cat(catalog_file, output_datenum=True) + time, mag_data, lat_dummy, lon_dummy, depth_dummy = read_mat_cat(catalog_file, mag_label=mag_label, output_datenum=True) datenum_data = time # REMEMBER THE DECIMAL DENOTES DAYS