Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preserve possibility to run converter without shp file #3158

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

simei94
Copy link
Contributor

@simei94 simei94 commented Mar 11, 2024

since ShpOptions.getShapeFile() no longer is a path but a string, we have to check if it is defined before creating SumoNetworkConverter to preserve the possibility to run the converter without a shp file, otherwise, when calling Path.of(shp.getShapeFile) a NullPointerException is caused

@simei94
Copy link
Contributor Author

simei94 commented Mar 11, 2024

@michalmac I do not know why you appear here. Must be some IntelliJ bug.

@simei94 simei94 requested a review from rakow March 11, 2024 22:32
@rakow rakow merged commit 632e5ec into master Mar 12, 2024
48 checks passed
@rakow rakow deleted the bugfix_CreateNetworkFromSumo branch March 12, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants