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

Fix: Search federation duplicated results merging issue #830

Merged

Conversation

Bilelkihal
Copy link
Collaborator

Fixed issue: #829

Changes

The previous logic to detect duplicate search results combined the concept URI and ontology acronym. However, it attempted to retrieve the ontology acronym using element[:root][:ontology_acronym], which doesn’t exist as a key under element[:root]. Instead, only the ontology ID is available in this structure.

To resolve this:

  • Extracted the ontology acronym from the available ontology ID.
  • Replaced the previous key lookup with this derived acronym to ensure proper duplicate detection.

Screenshot

image

… from the ontology_id when checking ontology duplication in federation
@Bilelkihal Bilelkihal self-assigned this Nov 6, 2024
@syphax-bouazzouni syphax-bouazzouni merged commit a9dd3b7 into development Nov 7, 2024
3 of 4 checks passed
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 this pull request may close these issues.

2 participants