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 assembly provider for annotation #346

Merged
merged 10 commits into from
Apr 16, 2024
Merged

Fix assembly provider for annotation #346

merged 10 commits into from
Apr 16, 2024

Conversation

MatBarba
Copy link
Contributor

Fix a bug where the provider_name was not properly given to the FunctionalAnnotations object. Replace the genome attrib with a simpler provider_name string.

Also add a part to infer the provider_name from the assembly.accession, which is mandatory from the metadata, in case the assembly.provider_name, which is optional, is not provided.

Update and expand the tests

@MatBarba MatBarba self-assigned this Apr 15, 2024
MatBarba and others added 5 commits April 15, 2024 17:34
Co-authored-by: J. Alvarez-Jarreta <jalvarez@ebi.ac.uk>
Co-authored-by: Dishalodha <87130059+Dishalodha@users.noreply.github.com>
Co-authored-by: J. Alvarez-Jarreta <jalvarez@ebi.ac.uk>
Copy link
Contributor

@JAlvarezJarreta JAlvarezJarreta left a comment

Choose a reason for hiding this comment

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

Note: Next time CI/CD does not pass due to pylint not found (or similar), let me know because it is happening more frequently than not.

@MatBarba MatBarba merged commit e9c23ba into main Apr 16, 2024
1 check passed
@MatBarba MatBarba deleted the mbarba/provider_fix branch April 16, 2024 12: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.

3 participants