From 81e21c832ab15dddfdee62422f04a2025b1252e9 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 21 Mar 2020 18:14:18 +0000 Subject: [PATCH] just a style thing --- experiments7/doAlu16.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/experiments7/doAlu16.py b/experiments7/doAlu16.py index 9284c6d..17a118d 100755 --- a/experiments7/doAlu16.py +++ b/experiments7/doAlu16.py @@ -74,8 +74,8 @@ def create_pins(cell, net, name, direction, cell = af.getCell(cell, CRL.Catalog.State.Logical) if layer is None: - layer = get_layer('METAL3') - elif isinstance(layer, basestring): + layer = 'METAL3' + if isinstance(layer, basestring): layer = get_layer(layer) if isinstance(repeat, int): -- 2.30.2