rename check_connectivity to trace_connectivity
This commit is contained in:
parent
718dc2a9ac
commit
2245629466
@ -18,7 +18,7 @@ cells, props = oasis.readfile('connectivity.oas')
|
||||
topcell = cells['top']
|
||||
|
||||
polys, labels = snarl.interfaces.masque.read_topcell(topcell, connectivity)
|
||||
nets_info = snarl.check_connectivity(polys, labels, connectivity)
|
||||
nets_info = snarl.trace_connectivity(polys, labels, connectivity)
|
||||
|
||||
print('\nFinal nets:')
|
||||
print([kk for kk in nets_info.nets if isinstance(kk.name, str)])
|
||||
|
@ -1,7 +1,7 @@
|
||||
"""
|
||||
TODO: ALL DOCSTRINGS
|
||||
"""
|
||||
from .main import check_connectivity
|
||||
from .main import trace_connectivity
|
||||
from . import interfaces
|
||||
|
||||
|
||||
|
@ -17,7 +17,7 @@ from .utils import connectivity2layers
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def check_connectivity(
|
||||
def trace_connectivity(
|
||||
polys: Mapping[layer_t, Sequence[ArrayLike]],
|
||||
labels: Mapping[layer_t, Sequence[Tuple[float, float, str]]],
|
||||
connectivity: Sequence[Tuple[layer_t, Optional[layer_t], layer_t]],
|
||||
|
Loading…
Reference in New Issue
Block a user