En raison du déménagement des baies serveurs, les services gitlab.irstea.fr et mattermost.irstea.fr seront interrompus le samedi 2 octobre 2021 au matin. Ils devraient revenir à la normale dans la journée.

Unverified Commit 32d35dd2 authored by Julien Veyssier's avatar Julien Veyssier
Browse files

add log for qgis


Signed-off-by: default avatarJulien Veyssier <eneiluj@posteo.net>
parent 0d49c72c
......@@ -581,6 +581,7 @@ def main(parms_file, nbProc, generator=False):
# the locks are here to prevent concurrent terminal tqdm writing
# this is the interesting part, launching N processes in parallel to process basins
if generator:
print('Starting subbasins loop with %s process' % nbProc)
with Pool(nbProc) as p:
params = [(id, configFileDir, i+1, nbElems, min_area, buffer_distance, tmpPath, generator, nbProc) for (i, id) in enumerate(elems)]
for i, _ in enumerate(p.imap_unordered(processSubbasin, params), 1):
......
......@@ -388,6 +388,7 @@ def main(parms_file, nbProc, generator=False):
# the locks are here to prevent concurrent terminal tqdm writing
# this is the interesting part, launching N processes in parallel to process basins
if generator:
print('Starting subbasins loop with %s process' % nbProc)
with Pool(nbProc) as p:
params = [(id, configFileDir, i+1, nbBasins, tmpPath, nbProc, generator) for (i, id) in enumerate(basin_ids)]
for i, _ in enumerate(p.imap_unordered(processSubbasin, params), 1):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment