From ad5337225396ca90e3474f6d2dd6ea978ca0c187 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Thu, 21 Sep 2023 12:18:18 +0200 Subject: [PATCH] Fix stupid mistake in designflow.pnr.doTask(), not executing script. --- cumulus/src/designflow/pnr.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cumulus/src/designflow/pnr.py b/cumulus/src/designflow/pnr.py index effad441..5c587c56 100644 --- a/cumulus/src/designflow/pnr.py +++ b/cumulus/src/designflow/pnr.py @@ -72,8 +72,9 @@ class PnR ( FlowTask ): e = ErrorMessage( 1, 'PnR.doTask(): "script" argument is *not* callable.' ) return TaskFailed( e ) kw = {} - if self.script and self.topName: - kw[ 'loadCell' ] = self.topName + if self.script: + if self.topName: + kw[ 'loadCell' ] = self.topName self.script( **kw ) if not PnR.textMode: # Run in graphic mode.