-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
update conversion #218
update conversion #218
Conversation
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
Thanks for the PR @manonreau!! I'll check this out tomorrow. Do you think you'd be able to add an appropriate unit test? |
Hi @manonreau could you provide the code for |
Changes added in #220 |
Hi @a-r-j, Thank you very much for considering my PRs. I just removed the You should be able to write a test now. |
@manonreau I see. Would you be willing to share it anyway? It could be useful :) And thanks for the contributions!! |
Sure, here it is:
I later noticed that the onehot encoding is already provided by Graphein :) |
Reference Issues/PRs
Fixes #217
What does this implement/fix? Explain your changes
The edge features are now given as a list of lists instead of a list of string during the networkx object to pyg object conversion
What testing did you do to verify the changes in this PR?
Pull Request Checklist
./CHANGELOG.md
file (if applicable)./graphein/tests/*
directories (if applicable)./notebooks/
(if applicable)python -m py.test tests/
and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g.,python -m py.test tests/protein/test_graphs.py
)black .
andisort .