Skip to content

chore(prepro): Extracting shared code from taxonomy-service preprocessing functions#6290

Open
maverbiest wants to merge 3 commits intomainfrom
refactor-prepro-functions
Open

chore(prepro): Extracting shared code from taxonomy-service preprocessing functions#6290
maverbiest wants to merge 3 commits intomainfrom
refactor-prepro-functions

Conversation

@maverbiest
Copy link
Copy Markdown
Contributor

@maverbiest maverbiest commented Apr 17, 2026

There was quite a bit of shared code between validate_host(), scientific_name_from_id() and common_name_from_id()

This PR extracts the shared functionality into functions that are now called by each of the three functions. This was mainly done by Claude, and tweaked by me.

PR Checklist

- [ ] All necessary documentation has been adapted.

  • The implemented feature is covered by appropriate, automated tests.
    - [ ] Any manual testing that has been done is documented (i.e. what exactly was tested?)

🚀 Preview: Add preview label to enable

@maverbiest maverbiest added the refactoring Code requires refactoring label Apr 17, 2026
@claude claude bot added the preprocessing Issues related to the preprocessing component label Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preprocessing Issues related to the preprocessing component refactoring Code requires refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant