Skip to content

Commit

Permalink
remove unneeded work-around
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Dec 16, 2024
1 parent 1575922 commit 7da1e18
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/main/java/org/matsim/run/OpenBerlinScenario.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,20 +147,6 @@ protected void prepareScenario(Scenario scenario) {
// add hbefa link attributes.
HbefaRoadTypeMapping roadTypeMapping = OsmHbefaMapping.build();
roadTypeMapping.addHbefaMappings(scenario.getNetwork());

// XXX: yyyyyyyy TODO Remove before merging. This is just for intermediate runs to update the PT schedules
for (Person person : scenario.getPopulation().getPersons().values()) {
for (Plan plan : person.getPlans()) {
List<Leg> legs = TripStructureUtils.getLegs(plan);
for (Leg leg : legs) {
if (leg.getMode().equals(TransportMode.pt)) {
leg.setRoute(null);
leg.setTravelTimeUndefined();
}
}
}
}

}

@Override
Expand Down

0 comments on commit 7da1e18

Please sign in to comment.