From 87d78ca78cb6cdc2fd3d2371e6478b610abb7cbb Mon Sep 17 00:00:00 2001 From: Wanderrful Date: Wed, 14 Oct 2020 14:18:03 -0500 Subject: [PATCH] Remove rows with "Section" in the first column --- docs/rules/periphery-rules.rst | 4 ---- docs/rules/periphery/p046-mf_dotdash.csv | 1 - docs/rules/periphery/periphery-split-csv.py | 3 +++ 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/rules/periphery-rules.rst b/docs/rules/periphery-rules.rst index e0eaf95..7aeeb56 100644 --- a/docs/rules/periphery-rules.rst +++ b/docs/rules/periphery-rules.rst @@ -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 diff --git a/docs/rules/periphery/p046-mf_dotdash.csv b/docs/rules/periphery/p046-mf_dotdash.csv index db0e55a..41272d2 100644 --- a/docs/rules/periphery/p046-mf_dotdash.csv +++ b/docs/rules/periphery/p046-mf_dotdash.csv @@ -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),,, diff --git a/docs/rules/periphery/periphery-split-csv.py b/docs/rules/periphery/periphery-split-csv.py index e09ce59..ba7b03a 100755 --- a/docs/rules/periphery/periphery-split-csv.py +++ b/docs/rules/periphery/periphery-split-csv.py @@ -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):