From 2df4a9a492e308d2e9d3b6ac0fc4d898a2987146 Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Wed, 8 Feb 2023 00:45:56 +0900 Subject: [PATCH] rules/klayout/drc: fix path logging --- rules/klayout/drc/gf180mcu_antenna.drc | 2 +- rules/klayout/drc/gf180mcu_density.drc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/klayout/drc/gf180mcu_antenna.drc b/rules/klayout/drc/gf180mcu_antenna.drc index 8e27e221..60395e43 100644 --- a/rules/klayout/drc/gf180mcu_antenna.drc +++ b/rules/klayout/drc/gf180mcu_antenna.drc @@ -47,7 +47,7 @@ if $report logger.info("GF180MCU Klayout antenna checks DRC runset output at: %s" % [$report]) report("GF180 ANTENNA DRC runset", $report) else - logger.info("GF180MCU Klayout antenna checks DRC runset output at default location." % [File.join(File.dirname(RBA::CellView::active.filename), "gf180mcu_antenna.lyrdb").path]) + logger.info("GF180MCU Klayout antenna checks DRC runset output at default location." % [File.join(File.dirname(RBA::CellView::active.filename), "gf180mcu_antenna.lyrdb")]) report("GF180 DRC runset", File.join(File.dirname(RBA::CellView::active.filename), "gf180mcu_antenna.lyrdb")) end diff --git a/rules/klayout/drc/gf180mcu_density.drc b/rules/klayout/drc/gf180mcu_density.drc index 3956b42e..7205c2c3 100644 --- a/rules/klayout/drc/gf180mcu_density.drc +++ b/rules/klayout/drc/gf180mcu_density.drc @@ -47,7 +47,7 @@ if $report logger.info("GF180MCU Klayout density checks DRC runset output at: %s" % [$report]) report("GF180 DENSITY DRC runset", $report) else - logger.info("GF180MCU Klayout density checks DRC runset output at default location." % [File.join(File.dirname(RBA::CellView::active.filename), "gf180mcu_density.lyrdb").path]) + logger.info("GF180MCU Klayout density checks DRC runset output at default location." % [File.join(File.dirname(RBA::CellView::active.filename), "gf180mcu_density.lyrdb")]) report("GF180 DRC runset", File.join(File.dirname(RBA::CellView::active.filename), "gf180mcu_density.lyrdb")) end