Skip to content

Commit 6096b54

Browse files
committed
Merge branch 'pow2pp2VG' into devel
2 parents 5867af3 + 99cd422 commit 6096b54

9 files changed

Lines changed: 5944 additions & 86 deletions

File tree

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def setup(app):
198198
# One entry per manual page. List of tuples
199199
# (source start file, name, description, authors, manual section).
200200
man_pages = [
201-
(master_doc, 'gridcal', 'VeraGrid Documentation',
201+
(master_doc, 'veragrid', 'VeraGrid Documentation',
202202
[author], 1)
203203
]
204204

src/VeraGridEngine/Devices/assets.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,13 @@ def lines(self) -> List[dev.Line]:
665665
def lines(self, value: List[dev.Line]):
666666
self._lines = value
667667

668+
def get_lines_number(self) -> int:
669+
"""
670+
671+
:return:
672+
"""
673+
return len(self._lines)
674+
668675
def get_lines(self) -> List[dev.Line]:
669676
"""
670677
get list of ac lines

0 commit comments

Comments
 (0)