diff options
author | maddy-2 | 2019-05-27 16:27:59 +0530 |
---|---|---|
committer | nilshah98 | 2019-06-07 11:03:16 +0530 |
commit | 32132ebfcc90e993acc3a87c4017ef0b00bcd890 (patch) | |
tree | be257d10a2afdc8dfd89e89a5ac26d7570ef54b7 /src | |
parent | 11796de3a3bbb0568d44c18ba6ff3d5e14b7407f (diff) | |
download | eSim-32132ebfcc90e993acc3a87c4017ef0b00bcd890.tar.gz eSim-32132ebfcc90e993acc3a87c4017ef0b00bcd890.tar.bz2 eSim-32132ebfcc90e993acc3a87c4017ef0b00bcd890.zip |
modelEditor made pep8 compliant
Diffstat (limited to 'src')
-rw-r--r-- | src/modelEditor/ModelEditor.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modelEditor/ModelEditor.py b/src/modelEditor/ModelEditor.py index 88501a4f..e1dfec6b 100644 --- a/src/modelEditor/ModelEditor.py +++ b/src/modelEditor/ModelEditor.py @@ -165,7 +165,8 @@ class ModelEditorclass(QtGui.QWidget): def openfiletype(self, filetype): ''' - Select the path of the file to be opened depending upon selected file type + Select the path of the file to be opened \ + depending upon selected file type ''' self.path = '../deviceModelLibrary/Templates' if self.diode.isChecked(): @@ -522,7 +523,7 @@ class ModelEditorclass(QtGui.QWidget): def removeparameter(self): self.savebtn.setDisabled(False) index = self.modeltable.currentIndex() - param = str(index.data()) + param = str(index.data()) # noqa remove_item = self.modeltable.item(index.row(), 0).text() self.modeltable.removeRow(index.row()) del self.modeldict[str(remove_item)] @@ -633,7 +634,7 @@ class ModelEditorclass(QtGui.QWidget): defaultcwd = os.getcwd() savepath = os.path.join(self.savepathtest, 'User Libraries') - savefilepath = os.path.join(savepath, model_name + ".xml") + savefilepath = os.path.join(savepath, model_name + ".xml") # noqa os.chdir(savepath) text, ok1 = QtGui.QInputDialog.getText( self, 'Model Name', 'Enter Model Library Name') |