Skip to content

Few free provider codes fix#98

Merged
shilpigoeldev merged 2 commits into
developfrom
feature/36591/freetext_provider
Jul 24, 2024
Merged

Few free provider codes fix#98
shilpigoeldev merged 2 commits into
developfrom
feature/36591/freetext_provider

Conversation

@shilpigoeldev

@shilpigoeldev shilpigoeldev commented Jul 23, 2024

Copy link
Copy Markdown
Contributor

What?

Fix values where there are over 100 identical records for free text coming in providercode field rather 3 or 5 letter org code.

How?

Added org code map to replace text provider code with org code provided by Fiona.

Testing?

Added relevant tests and ran importers locally to see genotype objects are getting right codes wherever applicable-

select count(*) from molecular_data where providercode like '%Guy%';
 count 
-------
     0

@ollietulloch ollietulloch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a bit of DRYing up please :)

Comment thread lib/import/brca/providers/cambridge/cambridge_handler.rb Outdated
@shilpigoeldev shilpigoeldev merged commit adf77e7 into develop Jul 24, 2024
@shilpigoeldev shilpigoeldev deleted the feature/36591/freetext_provider branch July 24, 2024 11:03
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