From 4a27eec8dc54a70d99b2ad4d19db520736fa9713 Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Mon, 11 Sep 2023 06:58:55 +0200 Subject: [PATCH] Fixed disagg_by_src for Japan --- openquake/calculators/classical.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index 963aabeb6311..79f88c2770f1 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -504,7 +504,7 @@ def execute_reg(self, maxw): sg = self.csm.src_groups[cm.grp_id] cm.rup_indep = getattr(sg, 'rup_interdep', None) != 'mutex' cm.pmap_max_mb = float(config.memory.pmap_max_mb) - if oq.disagg_by_src: # possible only with a single tile + if oq.disagg_by_src and not sg.atomic: blks = groupby(sg, basename).values() elif sg.atomic or sg.weight <= maxw: blks = [sg]