summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornilshah982019-06-12 16:33:40 +0530
committernilshah982019-06-13 12:16:15 +0530
commit8bc2c85b5892c38ecd17449cb7b1a0f0617edcac (patch)
tree40db562577cc9709954059febdc3602b115ef714
parent03c61330512ccbac9663dbc20d09bda0a5151dec (diff)
downloadeSim-8bc2c85b5892c38ecd17449cb7b1a0f0617edcac.tar.gz
eSim-8bc2c85b5892c38ecd17449cb7b1a0f0617edcac.tar.bz2
eSim-8bc2c85b5892c38ecd17449cb7b1a0f0617edcac.zip
configparser => try, catch
-rw-r--r--README.md7
-rw-r--r--src/configuration/Appconfig.py9
2 files changed, 13 insertions, 3 deletions
diff --git a/README.md b/README.md
index 742b2c24..a3745ded 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,12 @@ eSim is an open source EDA tool for circuit design, simulation, analysis and PCB
* It also has a feature of Model builder and Subcircuit builder.
* eSim has been successfully ported to low cost FOSSEE [laptop](http://laptop.fossee.in)
-##Pre-requisites
+## Open-Source Software Used
+* Python.
+* KiCad.
+* Ngspice.
+
+## Pre-requisites
1. Python 3.0+
2. PyQt4
3. Matplotlib
diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py
index 40bb8ef6..8c34abb8 100644
--- a/src/configuration/Appconfig.py
+++ b/src/configuration/Appconfig.py
@@ -54,8 +54,13 @@ class Appconfig(QtGui.QWidget):
os.path.join(
'.esim',
'config.ini')))
- # Need to comment below line to execute on Windows 10
- # modelica_map_json = parser_esim.get('eSim', 'MODELICA_MAP_JSON')
+
+ # Try catch added, since eSim cannot be accessed under parser for Win10
+ try:
+ modelica_map_json = parser_esim.get('eSim', 'MODELICA_MAP_JSON')
+ except:
+ print("Cannot access eSim in parser")
+
try:
project_explorer = json.load(open(dictPath))
except BaseException: