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

WB does not always match COT to determination #6187

Open
emenslin opened this issue Jan 31, 2025 · 0 comments
Open

WB does not always match COT to determination #6187

emenslin opened this issue Jan 31, 2025 · 0 comments
Labels
2 - WorkBench Issues that are related to the WorkBench geospecify
Milestone

Comments

@emenslin
Copy link
Collaborator

Describe the bug
Uploading a CO data set to workbench with multiple trees can sometimes led to CO with a COT and determination that do not match. No error is thrown and there is seemingly nothing wrong with the uploaded records (no unload protect, save blocker, etc.) but the determination is part of another tree. I didn't get a chance to do a whole ton of testing so there might be other weird behavior with uploading CO/COT/determinations in workbench that I didn't notice.

To Reproduce
Steps to reproduce the behavior:

  1. Go to workbench
  2. Select CO as base table
  3. Add mappings for cat #, COT, and to at least one rank from two different trees (example upload plan: COT test.json)
  4. Add an existing taxon from a tree that is not the same as the COT
  5. Validate
  6. See no errors are thrown
  7. Upload
  8. See record looks normal
  9. Query/go to tree and see taxon is from a different tree

Expected behavior
Some sort of error should be thrown in the cell in workbench so you cannot upload without fixing it. There might be a better solution because I know errors aren't always ideal but this should definitely be caught before upload.

Screenshots

Tree for each COT:
Image

Taxon trees:

01-31_16.11.mp4

Actual upload:

01-31_16.12.mp4

Please fill out the following information manually:

Additional context
I was not able to check everything but some other COT behavior in workbench is that; if there is no COT, all taxa are uploaded to the default tree (expected behavior as far as I know), if there’s only one tree but multiple COTs, it will upload taxon to whatever tree is mapped no matter what the type is, this is also a problem but if it needs to be a separate issue let me know.

01-31_16.56.mp4
@emenslin emenslin added 2 - WorkBench Issues that are related to the WorkBench geospecify labels Jan 31, 2025
@emenslin emenslin added this to the 7.10 milestone Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 - WorkBench Issues that are related to the WorkBench geospecify
Projects
None yet
Development

No branches or pull requests

1 participant