fix: HDF5 saving of general settings
@@ -196,6 +196,8 @@ def save_madminer_settings(
_save_analysis_parameters(file_name, file_override, parameters)
_save_benchmarks(file_name, file_override, benchmark_names, benchmark_values)
_save_morphing(file_name, file_override, morphing_components, morphing_matrix)
+
+ if len(finite_differences) > 0:
_save_finite_diffs(
file_name,
file_override,
@@ -203,6 +205,7 @@ def save_madminer_settings(
fin_diffs_shift_benchmarks,
finite_differences_epsilon,
)
+ if len(systematics) > 0:
_save_systematics(
file_name,
file_override,
