-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b1d2909
commit bcaabe3
Showing
4 changed files
with
30 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from .graph_attributes import EdgeAttr, NodeAttr | ||
from .graph_from_segmentation import graph_from_segmentation | ||
from .graph_to_nx import graph_to_nx |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from enum import Enum | ||
|
||
|
||
class NodeAttr(Enum): | ||
"""Node attributes that can be added to candidate graph using the toolbox. | ||
Note: Motile can flexibly support any custom attributes. The toolbox provides | ||
implementations of commonly used ones, listed here. | ||
""" | ||
|
||
SEG_ID = "segmentation_id" | ||
|
||
|
||
class EdgeAttr(Enum): | ||
"""Edge attributes that can be added to candidate graph using the toolbox. | ||
Note: Motile can flexibly support any custom attributes. The toolbox provides | ||
implementations of commonly used ones, listed here. | ||
""" | ||
|
||
DISTANCE = "distance" |
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
File renamed without changes.