Skip to content

Commit

Permalink
style. refs #12
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed May 2, 2024
1 parent a7ee09a commit 0c71c7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/net/patchVClasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def parse_args():
return options



def main(options):
classes = options.deleteClasses.split(',')
with open(options.outfile, 'w') as outf:
Expand All @@ -54,5 +53,6 @@ def main(options):
line = line.replace(" " + c, "")
outf.write(line)


if __name__ == "__main__":
main(parse_args())
2 changes: 1 addition & 1 deletion tools/osmBuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
SUMO_HOME = os.environ.get("SUMO_HOME", os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
vclassRemove = {"passenger": ["--keep-edges.by-vclass", "passenger"],
"publicTransport": ["--keep-edges.by-vclass", "passenger,bus,tram,rail_urban,subway,cable_car,rail"],
"road": ["--remove-edges.by-vclass", "tram,rail_urban,subway,cable_car,rail_electric,bicycle,pedestrian"],
"road": ["--remove-edges.by-vclass", "tram,rail_urban,subway,cable_car,rail_electric,bicycle,pedestrian"], # noqa
"all": []}
possibleVClassOptions = '|'.join(vclassRemove.keys())

Expand Down

0 comments on commit 0c71c7a

Please sign in to comment.