Skip to content

Commit

Permalink
remove debug line
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Aug 7, 2024
1 parent 8c8d38d commit dac8744
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions matsim/scenariogen/data/formats/jp_milt.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ def convert(data: tuple, regio=None):

n_trips = p.trip_end_no

# Some columns were not present in our dataset, even though they are mentioned in the documentation
# e.g. employment, address_code,person_cnt
# Currently missing information might be added later if the full dataset is available

ps.append(
Person(
str(p.household_person_no),
Expand Down
2 changes: 0 additions & 2 deletions matsim/scenariogen/data/preparation.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,6 @@ def a_id(t_i):

return res

all_persons = all_persons.head(n=1000)

if cores == 1:
result = convert(all_persons)
else:
Expand Down

0 comments on commit dac8744

Please sign in to comment.