From b285a08f5ec3c3d4c1be0065048dd6951d4cc74c Mon Sep 17 00:00:00 2001 From: Shawn Anderson Date: Wed, 27 Mar 2024 18:28:05 -0700 Subject: [PATCH] Update easy_run.py Handle list type parameters when assigning params. --- cadCAD/tools/execution/easy_run.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cadCAD/tools/execution/easy_run.py b/cadCAD/tools/execution/easy_run.py index 5ea737e1..825ba480 100644 --- a/cadCAD/tools/execution/easy_run.py +++ b/cadCAD/tools/execution/easy_run.py @@ -16,6 +16,8 @@ def describe_or_return(v: object) -> object: return f'function: {v.__name__}' elif isinstance(v, types.LambdaType) and v.__name__ == '': return f'lambda: {inspect.signature(v)}' + elif isinstance(v, list): + return str(v) else: return v