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

Remove to-dos, handle lint warnings and run notebooks #20

Merged
merged 3 commits into from
Jan 23, 2025
Merged

Conversation

KoalaQin
Copy link
Contributor

No description provided.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@KoalaQin KoalaQin requested a review from jkgoodrich January 23, 2025 17:12
@KoalaQin KoalaQin changed the title Remove to-dos, handle lint warnings and pass notebooks Remove to-dos, handle lint warnings and run notebooks Jan 23, 2025
@@ -115,8 +115,6 @@
}


# TODO: Are there other things we want to store in a session? Like a PASS variants only
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add this to a ticket so we don't forget?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

thank you

Copy link
Contributor

@jkgoodrich jkgoodrich left a comment

Choose a reason for hiding this comment

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

One thing about a TODO that I forgot about

@@ -13,8 +13,6 @@
from gnomad_toolbox.load_data import _get_dataset, get_compatible_dataset_versions


# TODO: Check these csq sets, the ones in the code don't match what is listed on the
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you confirm these csq sets? I forgot about this TODO, but I think we need to make sure they are consistent. I copied the doc string csqs from the browser hover over, but I just used the csqs that you had in your original code. If the code is correct, can you just change the doc string?

Copy link
Contributor Author

@KoalaQin KoalaQin Jan 23, 2025

Choose a reason for hiding this comment

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

I asked the browser people if it's hard coded or the list includes all the csqs for different VEP versions (there are some new csq 105 csq not shown there), but for now I changed a bit the code and the docstring, so it's doing what it's saying.

Copy link
Contributor Author

@KoalaQin KoalaQin Jan 23, 2025

Choose a reason for hiding this comment

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

It looks like it's hardcoded for 'Other' and they didn't update the list by VEP version, so we might have a different number for that category but it should be rare (I assume those deprecated/added are not so common), for now, our code is aligned to their LoF, missense and synonymous.

Copy link
Contributor

Choose a reason for hiding this comment

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

sounds good, thank you

@KoalaQin KoalaQin requested a review from jkgoodrich January 23, 2025 18:06
Copy link
Contributor

@jkgoodrich jkgoodrich left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -13,8 +13,6 @@
from gnomad_toolbox.load_data import _get_dataset, get_compatible_dataset_versions


# TODO: Check these csq sets, the ones in the code don't match what is listed on the
Copy link
Contributor

Choose a reason for hiding this comment

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

sounds good, thank you

@@ -115,8 +115,6 @@
}


# TODO: Are there other things we want to store in a session? Like a PASS variants only
Copy link
Contributor

Choose a reason for hiding this comment

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

thank you

@KoalaQin KoalaQin merged commit 02a0c22 into main Jan 23, 2025
5 checks passed
@KoalaQin KoalaQin deleted the qh/for_release branch January 23, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants