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

Draw variants transcript and protein #148

Merged
merged 63 commits into from
Apr 23, 2024

Conversation

pnrobinson
Copy link
Collaborator

No description provided.

frehburg and others added 30 commits December 22, 2023 15:26
Signed-off-by: frehburg <fil.rehburg@gmail.com>
@pnrobinson
Copy link
Collaborator Author

@ielis @lnrekerle
This PR adds the drawing code as well as a test case for the VariantValidator response. The function, parse_response, line 157 of _vv.py, will also need to be changed -- to me it looks as if the code is expecting a different JSON structure from what we actually get -- I added the test case to understand the structure. Unless there is some other code that only passes part of the response, it is wrong
PLEASE ADD DOCUMENTATION TO ALL FUNCTIONS LIKE THIS! It would be a lot easier to contribute code if the main assumptions and goals of each function were documented --

Copy link
Collaborator

@lnrekerle lnrekerle left a comment

Choose a reason for hiding this comment

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

This looks good to me!

@lnrekerle
Copy link
Collaborator

lnrekerle commented Apr 23, 2024

The function, parse_response, line 157 of _vv.py, will also need to be changed -- to me it looks as if the code is expecting a different JSON structure from what we actually get -- I added the test case to understand the structure. Unless there is some other code that only passes part of the response, it is wrong PLEASE ADD DOCUMENTATION TO ALL FUNCTIONS LIKE THIS! It would be a lot easier to contribute code if the main assumptions and goals of each function were documented --

That function was originally written by @ielis, but I can take a look at it and see if I can recreate and fix the bug after this has been pushed. I do think that this PR as it is is ready to be pushed though. @pnrobinson

@pnrobinson
Copy link
Collaborator Author

I am going to merge this, and now the code seems to be working again. I am not changing _vv.py now but we may need to do so, but let's make that a separate PR

@pnrobinson pnrobinson merged commit d163763 into develop Apr 23, 2024
5 checks passed
@pnrobinson pnrobinson deleted the draw-variants-transcript-and-protein branch April 23, 2024 16:06
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