set start and finish as primary
This commit is contained in:
@@ -52,7 +52,7 @@ class LinkedLandmarks:
|
||||
|
||||
# Update 'is_secondary' for landmarks with attractiveness below the threshold score
|
||||
for landmark in self._landmarks:
|
||||
if landmark.attractiveness < threshold_score:
|
||||
if landmark.attractiveness < threshold_score and landmark.type not in ["start", "finish"]:
|
||||
landmark.is_secondary = True
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user