Tom-Jenkins / mapmixture

R package and web app for spatial visualisation of admixture on a projected map
GNU General Public License v3.0
37 stars 7 forks source link

Coordinates file not read even if site codes identical to admixture file #7

Closed EmaBerr closed 1 year ago

EmaBerr commented 1 year ago

Dear, I'm tring to use the online version but unfortunatly, every time I upload the Admixture File and the Coordinates File, even though the locality IDs are identical, I recived this messag: "Site IDs do not match. Ensure site IDs are present and match in both admixture and coordinates files." How can I fix this issue? Thanks a lot!

Tom-Jenkins commented 1 year ago

Hi,

Please can you upload an example of your admixture and coordinates files here and I’ll look into it, thanks.

EmaBerr commented 1 year ago

Hi Tom, sure, here attached you can find an extract of the file I'm using. The site code is the same, but I received the error message.

Coordinates K7_test.csv K7_test.csv

Tom-Jenkins commented 1 year ago

Hi @EmaBerr,

It looks like your coordinates file was incorrectly formatted. The app accepts one row of coordinates per site (so you do not have to repeat the same coordinates). Also, I noticed that both your files have columns separated by semi-colons. While this works, I recommend using commas instead. I have uploaded new copies of your data below, as well as a screenshot of your data on the app. Let me know if you experience any other issues.

Coordinates.K7_test_csv.csv K7_test_csv.csv

image

EmaBerr commented 1 year ago

Dear @Tom-Jenkins, thanks a lot! Fixin this two issues the app works perfectly!