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 column name when selecting from gene_archive table #585

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

TamaraNaboulsi
Copy link
Member

Description

In merged PR #573, 'stable_id' was mistakenly used when selecting from gene_archive table, while this table doesn't have a 'stable_id' column.

Use case

Fix sql query to use $type (which could be gene_stable_id, transcript_stable_id, ...) instead of 'stable_id'.

Benefits

This script currently fails without this change.

Possible Drawbacks

None

Testing

Have you added/modified unit tests to test the changes?

If so, do the tests pass/fail?

Have you run the entire test suite and no regression was detected?

@TamaraNaboulsi TamaraNaboulsi requested a review from mira13 October 19, 2021 08:50
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 82.387% when pulling cfc6405 on fix/gene_archive_stable_id into 2ca4649 on master.

Copy link
Contributor

@ens-bwalts ens-bwalts left a comment

Choose a reason for hiding this comment

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

Sorry for letting this through in the first place. This should fix the issue and it looks like it's compatible with the two places get_max_stable_id_from_gene_archive is called.

Note that this got into release/106 so we will need the same bugfix PR against that branch as well.

Copy link
Contributor

@mira13 mira13 left a comment

Choose a reason for hiding this comment

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

Looks fine for me

@TamaraNaboulsi TamaraNaboulsi merged commit 9917983 into master Oct 20, 2021
@TamaraNaboulsi TamaraNaboulsi deleted the fix/gene_archive_stable_id branch October 20, 2021 11:48
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.

4 participants