In the Subcircuit Builder added a conditional statement to handle the case when a Project is not selected (projDir is None).
Related Issues
Fixes #241
Purpose
The purpose of this pull request is to fix the issue where eSim crashes when attempting to open or edit a schematic without selecting a project. The pull request aims to address the bug causing the crash and ensure that eSim can open the subcircuit schematic without any issues.
Approach
Adding a conditional statement to handle the case when projDir is None raising an appropriate error. This will ensure the availability of the project directory when opening or editing a schematic.
In the Subcircuit Builder added a conditional statement to handle the case when a Project is not selected (projDir is None).
Related Issues
Fixes #241
Purpose
The purpose of this pull request is to fix the issue where eSim crashes when attempting to open or edit a schematic without selecting a project. The pull request aims to address the bug causing the crash and ensure that eSim can open the subcircuit schematic without any issues.
Approach
Adding a conditional statement to handle the case when projDir is None raising an appropriate error. This will ensure the availability of the project directory when opening or editing a schematic.