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.
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.
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.