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

Failed to setup location coordinates for a discrete analysis result #45

Open
MordorianGuy opened this issue Aug 21, 2023 · 1 comment
Open

Comments

@MordorianGuy
Copy link

MordorianGuy commented Aug 21, 2023

https://github.com/phylogeography/SpreaD3/blob/f49e4a09fa70eff5cc32c9623c9bc97167fc3296/src/parsers/DiscreteLocationsParser.java#L44C4-L44C43

I cannot setup location coordinates from an example csv of BEAST_CLASSIC "H5N1locations.dat", in spite of it was intact and valid csv. I have looked at the code and suppose that the problem in the used regular expression "\\s" as it matches a newline and we get 4 columns instead of 3.

@MordorianGuy
Copy link
Author

I am sorry. The line works as expected. The problem was in the example csv from BEAST_CLASSIC. It contains two newlines at the end instead of one. But this is still undesired behaviour.

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

No branches or pull requests

1 participant