-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move convert_labels_to_integers from utils/utilities.py to classes/function.py. The reason is that it was causing aboslute/relative import issues * implement IDView.duplicates * remove Hypergraph.has_edge and implement IDView.lookup instead * remove duplicate_edges in favor of H.edges.duplicates * change the examples section of the IDView.lookup docstring because it was causing problems during CI (in particular, the output was NodeView(('b', 'a')) instead of NodeView(('a', 'b')). Instead, that particular test was moved to the actual test suite.
- Loading branch information
Showing
16 changed files
with
271 additions
and
163 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
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
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 |
---|---|---|
|
@@ -14,5 +14,4 @@ | |
|
||
.. rubric:: Functions | ||
|
||
.. autofunction:: convert_labels_to_integers | ||
.. autofunction:: dual_dict |
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
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
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,24 +1,25 @@ | ||
import pkg_resources | ||
|
||
from . import ( | ||
algorithms, | ||
utils, | ||
classes, | ||
algorithms, | ||
convert, | ||
drawing, | ||
generators, | ||
linalg, | ||
readwrite, | ||
stats, | ||
utils, | ||
) | ||
from .algorithms import * | ||
from .utils import * | ||
from .classes import * | ||
from .algorithms import * | ||
from .convert import * | ||
from .drawing import * | ||
from .generators import * | ||
from .linalg import * | ||
from .readwrite import * | ||
from .stats import * | ||
from .utils import * | ||
|
||
|
||
__version__ = pkg_resources.require("xgi")[0].version |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .function import * | ||
from .hypergraph import Hypergraph | ||
from .function import * | ||
from .hypergraphviews import subhypergraph | ||
from .simplicialcomplex import SimplicialComplex |
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.