Skip to content

Commit

Permalink
Add some debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
ptormene committed Jul 31, 2023
1 parent d6f24fe commit 3ec8cd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openquake/calculators/event_based_damage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 3ec8cd2

Please sign in to comment.