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

Station name parsing robust #18

Merged
merged 6 commits into from
Feb 7, 2024

Conversation

rsevero
Copy link
Contributor

@rsevero rsevero commented Jan 16, 2024

Station name parsing should be more robust as current code creates stations H8. H9. HA, HB, etc from starting base H8.

It also forces letters capitalization.

These changes fixes both issues amking more complex station names also supported.

@speleo3
Copy link
Owner

speleo3 commented Jan 16, 2024

I recently added the first tests to this repo (see https://github.com/speleo3/inkscape-speleo/tree/master/tests ). There are no tests for th2enumeratestations.py yet. Do you think you could add tests for StationName and SeparateStationNameParts?

@rsevero
Copy link
Contributor Author

rsevero commented Jan 16, 2024

I recently added the first tests to this repo (see https://github.com/speleo3/inkscape-speleo/tree/master/tests ). There are no tests for th2enumeratestations.py yet. Do you think you could add tests for StationName and SeparateStationNameParts?

Yes. I will do it tomorrow.

@speleo3
Copy link
Owner

speleo3 commented Feb 4, 2024

Hi @rsevero - Any progress with the tests? Can I help you with that?

@rsevero
Copy link
Contributor Author

rsevero commented Feb 4, 2024 via email

@rsevero rsevero closed this Feb 7, 2024
@rsevero rsevero deleted the station_name_parsing_robust branch February 7, 2024 19:17
@rsevero rsevero restored the station_name_parsing_robust branch February 7, 2024 19:18
@rsevero rsevero reopened this Feb 7, 2024
@rsevero
Copy link
Contributor Author

rsevero commented Feb 7, 2024

The tests as requested.

@speleo3
Copy link
Owner

speleo3 commented Feb 7, 2024

The tests as requested.

Perfect, thank you so much!

@speleo3 speleo3 merged commit f524c1e into speleo3:master Feb 7, 2024
2 checks passed
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.

2 participants