From 3ec8cd291e358b0a675b72a304b5359cb02c7c85 Mon Sep 17 00:00:00 2001 From: Paolo Tormene Date: Mon, 31 Jul 2023 15:46:54 +0200 Subject: [PATCH] Add some debug prints --- openquake/calculators/event_based_damage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openquake/calculators/event_based_damage.py b/openquake/calculators/event_based_damage.py index 11c45d71d2f2..2fb5d07eb4d9 100644 --- a/openquake/calculators/event_based_damage.py +++ b/openquake/calculators/event_based_damage.py @@ -310,6 +310,9 @@ def _store_connectivity_analysis_results(self, conn_results): logging.info( 'Stored avarage connectivity loss (infra-avg_loss)') if 'event_connectivity_loss_eff' in conn_results: + # FIXME + print(conn_results['event_connectivity_loss_eff']) + print(conn_results['event_connectivity_loss_eff'].dtype) self.datastore.create_df( 'infra-event_efl', conn_results['event_connectivity_loss_eff'],