From 9b2ca81ce426bf5382bad56b5e8537ba455588db Mon Sep 17 00:00:00 2001 From: FaragElsayed2 Date: Wed, 11 Jan 2023 18:06:46 +0200 Subject: [PATCH] Updating klayout version check --- rules/klayout/drc/run_drc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/klayout/drc/run_drc.py b/rules/klayout/drc/run_drc.py index a637b736..189d628c 100644 --- a/rules/klayout/drc/run_drc.py +++ b/rules/klayout/drc/run_drc.py @@ -374,15 +374,15 @@ def check_klayout_version(): logging.error("Was not able to get klayout version properly.") exit(1) elif len(klayout_v_list) == 2: - if klayout_v_list[1] <= 27: - logging.warning(f"Prerequisites at a minimum: KLayout 0.27.8") + if klayout_v_list[1] < 28: + logging.warning(f"Prerequisites at a minimum: KLayout 0.28.0") logging.error( "Using this klayout version has not been assesed in this development. Limits are unknown" ) exit(1) elif len(klayout_v_list) == 3: - if klayout_v_list[1] <= 27 and klayout_v_list[2] < 8: - logging.warning(f"Prerequisites at a minimum: KLayout 0.27.8") + if klayout_v_list[1] < 28 : + logging.warning(f"Prerequisites at a minimum: KLayout 0.28.0") logging.error( "Using this klayout version has not been assesed in this development. Limits are unknown" )