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

Faulty behavior in function generation in kegg_api module #220

Open
MelihDarcanxyz opened this issue Jan 25, 2023 · 2 comments
Open

Faulty behavior in function generation in kegg_api module #220

MelihDarcanxyz opened this issue Jan 25, 2023 · 2 comments
Labels
bug Problem in the code

Comments

@MelihDarcanxyz
Copy link
Contributor

Describe the bug
This function in the kegg_api module has a faulty behavior.

It iterates through the types of relations but the last relation it takes to generate function overwrites all of the functions that generated before. So according to this function, pathway_gene relation is the last generated function. It turns out all of the functions generated before, even though their name is drug_pathway or etc., are the clones of the last generated function.

Any ideas on how to fix this? Also I will open a PR to fix some bugs in kegg_api, I suggest you to merge it in local before trying, otherwise it will not work.

@MelihDarcanxyz
Copy link
Contributor Author

#221

@ervau
Copy link
Collaborator

ervau commented Jan 27, 2023

@deeenes could you please take a quick look at this issue when you have a moment? It appears to be a bug in the kegg_api module's function that is causing issues with overwriting previously generated functions, and is becoming a blocker for our project. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Problem in the code
Projects
None yet
Development

No branches or pull requests

2 participants