Skip to content

Commit

Permalink
Refined tiling logic [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
micheles committed Sep 17, 2024
1 parent 417b083 commit 75e7da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openquake/calculators/preclassical.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def store_tiles(dstore, csm, sitecol, cmakers):
if oq.tiling is None:
# use tiling with OQ_SAMPLE_SOURCES to avoid slow tasks
ss = os.environ.get('OQ_SAMPLE_SOURCES') is not None
tiling = ss and N > 1000 or not regular
tiling = ss and N > 10_000 or not regular
else:
tiling = oq.tiling

Expand Down

0 comments on commit 75e7da6

Please sign in to comment.