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

createPlotsFromExcel()- show an error when duplicated entries for plotGrids or plotConfiguration exist #566

Closed
PavelBal opened this issue Nov 6, 2023 · 0 comments · Fixed by #568

Comments

@PavelBal
Copy link
Member

PavelBal commented Nov 6, 2023

If there are multiple rows with the same name in the plotGrids sheet, createPlotsFromExcel() fails here:

dataCombined <- dataCombinedList[[dfPlotConfigurations[dfPlotConfigurations$plotID == plotId, ]$DataCombinedName]]

To prevent this, check for duplicates early and exist with an informative message (should include the name of duplicated plot grid).

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 a pull request may close this issue.

1 participant