Skip to content

Commit

Permalink
Fixed disagg_by_src for Japan
Browse files Browse the repository at this point in the history
  • Loading branch information
micheles committed Sep 11, 2023
1 parent f2658a8 commit 4a27eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openquake/calculators/classical.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 4a27eec

Please sign in to comment.