Skip to content

Commit

Permalink
fix feedback steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ar-siddiqui authored Mar 1, 2021
1 parent 83a2ba7 commit 77b1b0f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions curve_number_generator_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def initAlgorithm(self, config=None):
def processAlgorithm(self, parameters, context, model_feedback):
# Use a multi-step feedback, so that individual child algorithm progress reports are adjusted for the
# overall progress through the model
feedback = QgsProcessingMultiStepFeedback(24, model_feedback)
feedback = QgsProcessingMultiStepFeedback(25, model_feedback)
results = {}
outputs = {}

Expand Down Expand Up @@ -730,7 +730,7 @@ def processAlgorithm(self, parameters, context, model_feedback):
is_child_algorithm=True,
)

feedback.setCurrentStep(18)
feedback.setCurrentStep(19)
if feedback.isCanceled():
return {}

Expand All @@ -753,7 +753,7 @@ def processAlgorithm(self, parameters, context, model_feedback):
is_child_algorithm=True,
)

feedback.setCurrentStep(19)
feedback.setCurrentStep(20)
if feedback.isCanceled():
return {}

Expand All @@ -776,7 +776,7 @@ def processAlgorithm(self, parameters, context, model_feedback):
is_child_algorithm=True,
)

feedback.setCurrentStep(20)
feedback.setCurrentStep(21)
if feedback.isCanceled():
return {}

Expand All @@ -799,7 +799,7 @@ def processAlgorithm(self, parameters, context, model_feedback):
is_child_algorithm=True,
)

feedback.setCurrentStep(21)
feedback.setCurrentStep(22)
if feedback.isCanceled():
return {}

Expand All @@ -823,7 +823,7 @@ def processAlgorithm(self, parameters, context, model_feedback):
is_child_algorithm=True,
)

feedback.setCurrentStep(22)
feedback.setCurrentStep(23)
if feedback.isCanceled():
return {}

Expand All @@ -846,7 +846,7 @@ def processAlgorithm(self, parameters, context, model_feedback):
is_child_algorithm=True,
)

feedback.setCurrentStep(23)
feedback.setCurrentStep(24)
if feedback.isCanceled():
return {}

Expand All @@ -864,7 +864,7 @@ def processAlgorithm(self, parameters, context, model_feedback):
is_child_algorithm=True,
)

feedback.setCurrentStep(24)
feedback.setCurrentStep(25)
if feedback.isCanceled():
return {}

Expand Down

0 comments on commit 77b1b0f

Please sign in to comment.