def get_cells_in_library(self, lib_name):
# type: (str) -> Sequence[str]
"""Get a list of cells in the given library.
Returns an empty list if the given library does not exist.
Parameters
----------
lib_name : str
the library name.
Returns
-------
cell_list : Sequence[str]
a list of cells in the library
"""
if self.impl_db is None:
raise Exception('BAG Server is not set up.')
return self.impl_db.get_cells_in_library(lib_name)
评论列表
文章目录