FOSSEE / eSim

This repository contain source code for new flow of FreeEDA now know as eSim
GNU General Public License v3.0
82 stars 72 forks source link

Subcircuit Builder Method modified to fix #241 #256

Closed SangaviGR closed 10 months ago

SangaviGR commented 1 year ago

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.