Pārlūkot izejas kodu

t.rast.extract: fix bug when running parallel processes

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60632 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 11 gadi atpakaļ
vecāks
revīzija
a28536b43a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/python/temporal/extract.py

+ 1 - 1
lib/python/temporal/extract.py

@@ -146,7 +146,7 @@ def extract_dataset(input, output, type, where, expression, base, nprocs=1,
 
                 # Join processes if the maximum number of processes are
                 # reached or the end of the loop is reached
-                if proc_count == nprocs or proc_count == num_rows:
+                if proc_count == nprocs or count == num_rows:
                     proc_count = 0
                     exitcodes = 0
                     for proc in proc_list: