Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Symmetric metapaths are their own inverse #38

Closed
dhimmel opened this issue May 1, 2019 · 0 comments · Fixed by #39
Closed

Symmetric metapaths are their own inverse #38

dhimmel opened this issue May 1, 2019 · 0 comments · Fixed by #39

Comments

@dhimmel
Copy link
Member

dhimmel commented May 1, 2019

Potentially the following function creates two metapaths when only one is necessary in the case of symmetric metapaths:

https://github.com/hetio/hetio/blob/6afb591ef52597e8ee7ec2612eb3afc376192f35/hetio/hetnet.py#L410-L437

Noticed this when investigating greenelab/connectivity-search-backend#43.

dhimmel added a commit that referenced this issue May 2, 2019
Merges #39
Closes #38

Create only a single object for a symmetric metapath and its inverse.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant