diff options
Diffstat (limited to 'src/kicadtoNgspice')
-rw-r--r-- | src/kicadtoNgspice/DeviceModel.py | 5 | ||||
-rw-r--r-- | src/kicadtoNgspice/KicadtoNgspice.py | 4 | ||||
-rw-r--r-- | src/kicadtoNgspice/Processing.py | 2 | ||||
-rw-r--r-- | src/kicadtoNgspice/SubcircuitTab.py | 6 |
4 files changed, 8 insertions, 9 deletions
diff --git a/src/kicadtoNgspice/DeviceModel.py b/src/kicadtoNgspice/DeviceModel.py index 41faa6f0..65e09753 100644 --- a/src/kicadtoNgspice/DeviceModel.py +++ b/src/kicadtoNgspice/DeviceModel.py @@ -363,9 +363,8 @@ class DeviceModel(QtGui.QWidget): self.libfile = str( QtGui.QFileDialog.getOpenFileName( - self, - "Open Library Directory", - "../deviceModelLibrary", + self, "Open Library Directory", + "library/deviceModelLibrary", "*.lib")) # Setting Library to Text Edit Line diff --git a/src/kicadtoNgspice/KicadtoNgspice.py b/src/kicadtoNgspice/KicadtoNgspice.py index cfc4f671..18701c43 100644 --- a/src/kicadtoNgspice/KicadtoNgspice.py +++ b/src/kicadtoNgspice/KicadtoNgspice.py @@ -114,7 +114,7 @@ class MainWindow(QtGui.QWidget): """ - Checking if any unknown model is used in schematic which is not - recognized by NgSpice. + recognized by Ngspice. - Also if the two model of same name is present under modelParamXML directory """ @@ -233,7 +233,7 @@ class MainWindow(QtGui.QWidget): - This function called when convert button clicked - Extracting data from the objs created above - Pushing this data to json, and dumping it finally - - Written to a ..._Previous_Valuse.json file in the projDirectory + - Written to a ..._Previous_Values.json file in the projDirectory - Finally, call createNetListFile, with the converted schematic """ global schematicInfo diff --git a/src/kicadtoNgspice/Processing.py b/src/kicadtoNgspice/Processing.py index 427f0823..67ffd3f5 100644 --- a/src/kicadtoNgspice/Processing.py +++ b/src/kicadtoNgspice/Processing.py @@ -8,7 +8,7 @@ class PrcocessNetlist: - This class include all the function required for pre-proccessing of netlist before converting to Ngspice Netlist. """ - modelxmlDIR = '../modelParamXML' + modelxmlDIR = 'library/modelParamXML' def __init__(self): pass diff --git a/src/kicadtoNgspice/SubcircuitTab.py b/src/kicadtoNgspice/SubcircuitTab.py index 08ad7332..35b876f0 100644 --- a/src/kicadtoNgspice/SubcircuitTab.py +++ b/src/kicadtoNgspice/SubcircuitTab.py @@ -141,9 +141,9 @@ class SubcircuitTab(QtGui.QWidget): self.subfile = str( QtGui.QFileDialog.getExistingDirectory( - self, - "Open Subcircuit", - "../SubcircuitLibrary")) + self, "Open Subcircuit", + "library/SubcircuitLibrary") + ) self.reply = self.obj_validation.validateSub( self.subfile, self.numPorts[self.widgetObjCount - 1]) if self.reply == "True": |