Skip to content

Commit fcf6a3b

Browse files
committed
add number of tasks to footprint tutorial
1 parent 0503717 commit fcf6a3b

File tree

1 file changed

+4
-0
lines changed
  • mapswipe_workers/mapswipe_workers/project_types/arbitrary_geometry

1 file changed

+4
-0
lines changed

mapswipe_workers/mapswipe_workers/project_types/arbitrary_geometry/tutorial.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ def create_tutorial_groups(self):
3939
group = Group(self, groupId=101)
4040
self.groups[101] = vars(group)
4141

42+
# add number of tasks for the group here
43+
# this needs to be set according to the examples for the tutorial
44+
self.groups[101]["numberOfTasks"] = len(self.tutorial_tasks)
45+
4246
logger.info(
4347
f"{self.projectId}"
4448
f" - create_tutorial_groups - "

0 commit comments

Comments
 (0)