Remove rows with "Section" in the first column

This commit is contained in:
Wanderrful 2020-10-14 14:18:03 -05:00
parent c0add3b9ca
commit 87d78ca78c
3 changed files with 3 additions and 5 deletions

View File

@ -2697,10 +2697,6 @@
- Spacing (no overlapping) between fuse center and Metal5
-
- 3.300
* - :drc_rule:`(mf.Section G2b: Rules for HV devices)`
-
-
-
.. figure:: periphery\p046-mf_dotdash.svg

View File

@ -23,4 +23,3 @@ Name,Description,Flags,Value
(mf.22),Min spacing between fuse_contact to fuse_contact,,1.960
(mf.23),Spacing (no overlapping) between fuse center and Metal4,,N/A
(mf.24),Spacing (no overlapping) between fuse center and Metal5,,3.300
(mf.Section G2b: Rules for HV devices),,,

1 Name Description Flags Value
23 (mf.22) Min spacing between fuse_contact to fuse_contact 1.960
24 (mf.23) Spacing (no overlapping) between fuse center and Metal4 N/A
25 (mf.24) Spacing (no overlapping) between fuse center and Metal5 3.300
(mf.Section G2b: Rules for HV devices)

View File

@ -167,6 +167,9 @@ for d in data[1:]:
if should_strip_flags:
rows = rows[:i]
# Remove rows with Section in the first column
rows = [r for r in rows if not r[0].startswith('Section ')]
# Join together description which span multiple rows.
continued_index = []
for i, row in enumerate(rows):