Skip to content

python exceptions are redirected when PCell is used. (KLayout Python Module) #264

@quaeritis

Description

@quaeritis

Currently, python exceptions are redirected when PCell is used.
So there is no exception mend in the terminal when executing the script directly with python.
This makes the error search difficult.

Is there a workaround or better an alternative for klayout.db.PCellDeclarationHelper / klayout.db.Library which is more suitable for pure python scripting.

Is there a need for a more pythonic base class? I think this could still be kept compatible with db.Library

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions