summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Model.py
diff options
context:
space:
mode:
authorrahulp132023-06-13 18:10:16 +0530
committerrahulp132023-06-13 18:10:16 +0530
commit172debd60ec1bae09c6b9c9180a388628e819909 (patch)
treed37e6da4a8ed3dbaf761751df3d3224662a611bf /src/kicadtoNgspice/Model.py
parent2ed5f8dce60da2dfde8cf36a8f8b29d3c2fb1107 (diff)
downloadeSim-172debd60ec1bae09c6b9c9180a388628e819909.tar.gz
eSim-172debd60ec1bae09c6b9c9180a388628e819909.tar.bz2
eSim-172debd60ec1bae09c6b9c9180a388628e819909.zip
maker module flake8 compliant & added docstrings
Diffstat (limited to 'src/kicadtoNgspice/Model.py')
-rw-r--r--src/kicadtoNgspice/Model.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/kicadtoNgspice/Model.py b/src/kicadtoNgspice/Model.py
index 1389e556..75c0eaf5 100644
--- a/src/kicadtoNgspice/Model.py
+++ b/src/kicadtoNgspice/Model.py
@@ -1,11 +1,9 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
-from PyQt5 import QtWidgets, QtCore, QtGui
-from PyQt5.QtCore import QObject, pyqtSlot
+from PyQt5 import QtWidgets, QtCore
from . import TrackWidget
from xml.etree import ElementTree as ET
import os
-import sys
class Model(QtWidgets.QWidget):
@@ -16,7 +14,6 @@ class Model(QtWidgets.QWidget):
"""
# by Sumanto and Jay
-
def addHex(self):
"""
This function is use to keep track of all Device Model widget
@@ -34,10 +31,8 @@ class Model(QtWidgets.QWidget):
)[0]
)
self.text = open(self.hexfile).read()
- chosen_file_path = os.path.abspath(self.hexfile)
# By Sumanto and Jay
-
def uploadHex(self):
"""
This function is use to keep track of all Device Model widget