[BI-1420] Add synonyms to germplasm import and export#180
Conversation
0702aad to
3ceb835
Compare
| if (synonyms != null) { | ||
| List<String> synonyms = Arrays.asList(blobSynonyms.split(";")).stream() | ||
| .map(synonym -> synonym.strip()) | ||
| .distinct() |
There was a problem hiding this comment.
Is silently dropping duplicates what is desired? Also synonyms are currently only removed as duplicate if case is the same. Is that what is wanted? Can also have the same synonyms for different germplasm (not including the key), not sure if that matters.
There was a problem hiding this comment.
Relaying these questions to @shawnyarnes
There was a problem hiding this comment.
Shawn added comments to the JIRA card:
https://breedinginsight.atlassian.net/browse/BI-1420
Looks like duplicate synonyms for a single germplasm are supposed to be dropped. But, Shawn is requesting a warning message. Let's talk about this because it will be a decent to large amount of extra work to add on the warning messages because we don't have a great way to handle this kind of flow currently.
Description
Story: https://breedinginsight.atlassian.net/jira/software/c/projects/BI/boards/1?modal=detail&selectedIssue=BI-1420
Dependencies
Testing
Checklist: