File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
mapswipe_workers/mapswipe_workers/project_types/arbitrary_geometry Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ def __init__(
2828 super ().__init__ (group , taskId = task_id )
2929 self .geojson = featureGeometry
3030
31- print (center )
32-
3331 # only tasks that use Google tile map service need this
3432 if center :
3533 self .center = center
Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ 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 )
42+ # Add number of tasks for the group here. This needs to be set according to
43+ # the number of features/ examples in the geojson file
44+ self .groups [101 ]["numberOfTasks" ] = len (self .tutorial_tasks [ "features" ] )
4545
4646 logger .info (
4747 f"{ self .projectId } "
You can’t perform that action at this time.
0 commit comments