diff --git a/src/main/java/org/matsim/run/OpenBerlinScenario.java b/src/main/java/org/matsim/run/OpenBerlinScenario.java index 4e057963..77f59d06 100644 --- a/src/main/java/org/matsim/run/OpenBerlinScenario.java +++ b/src/main/java/org/matsim/run/OpenBerlinScenario.java @@ -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 legs = TripStructureUtils.getLegs(plan); - for (Leg leg : legs) { - if (leg.getMode().equals(TransportMode.pt)) { - leg.setRoute(null); - leg.setTravelTimeUndefined(); - } - } - } - } - } @Override