Skip to content

Commit

Permalink
Merge pull request google#70 from mabrains/DRC_cleanup
Browse files Browse the repository at this point in the history
Updating klayout version check
  • Loading branch information
FaragElsayed2 authored Jan 11, 2023
2 parents a8ba3c1 + 9b2ca81 commit 501567e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rules/klayout/drc/run_drc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 501567e

Please sign in to comment.