-
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…132 #134 #135 (#136) * fix edges functions adding nodes to graphs with chain selections #134 * change generator comprehension in coordinate update to list comprehension to allow pickling #135 * [docs] update changelog * update conversion dosctrings #132 * update version to 1.2.1 * prevent execution in docs #131
- Loading branch information
Showing
11 changed files
with
2,609 additions
and
2,523 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,5 @@ | |
__author__ = "Arian Jamasb <[email protected]>" | ||
|
||
|
||
__version__ = "1.2.0" # get_versions()["version"] | ||
__version__ = "1.2.1" # get_versions()["version"] | ||
# del get_versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
"""Utilities for converting Graphein Networks to Geometric Deep Learning formats. | ||
""" | ||
# %% | ||
# Graphein | ||
# Author: Kexin Huang, Arian Jamasb <[email protected]> | ||
# License: MIT | ||
# Project Website: https://github.com/a-r-j/graphein | ||
# Code Repository: https://github.com/a-r-j/graphein | ||
from __future__ import annotations | ||
|
||
from typing import List, Optional | ||
|
@@ -272,7 +280,7 @@ def convert_nx_to_pyg(self, G: nx.Graph) -> Data: | |
@staticmethod | ||
def convert_nx_to_nx(G: nx.Graph) -> nx.Graph: | ||
""" | ||
Converts NetworkX graph (``nx.Graph``) to NetworkX graph (``nx.Graph``) object. Redundant - returns itself | ||
Converts NetworkX graph (``nx.Graph``) to NetworkX graph (``nx.Graph``) object. Redundant - returns itself. | ||
:param G: NetworkX Graph | ||
:type G: nx.Graph | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.