diff options
author | Sunil Shetye | 2019-06-24 10:29:39 +0530 |
---|---|---|
committer | GitHub | 2019-06-24 10:29:39 +0530 |
commit | a5effc6fcfb55751cd60a08f9774391ed34ba711 (patch) | |
tree | 7e15a2db5094747bcce4daf88b357eec4f803b85 /src/subcircuit/newSub.py | |
parent | fd265d087ff6dc7a09df400b165043e61bb7d0c0 (diff) | |
parent | 2b4de1b9b56d436d156ee6259db95bf29d9373ab (diff) | |
download | eSim-a5effc6fcfb55751cd60a08f9774391ed34ba711.tar.gz eSim-a5effc6fcfb55751cd60a08f9774391ed34ba711.tar.bz2 eSim-a5effc6fcfb55751cd60a08f9774391ed34ba711.zip |
Merge pull request #88 from anjalijaiswal08/documentation
Documentation
Diffstat (limited to 'src/subcircuit/newSub.py')
-rw-r--r-- | src/subcircuit/newSub.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/subcircuit/newSub.py b/src/subcircuit/newSub.py index 6b221b4c..678b023d 100644 --- a/src/subcircuit/newSub.py +++ b/src/subcircuit/newSub.py @@ -8,10 +8,7 @@ import os # This class is called when User create new Project. class NewSub(QtGui.QWidget): """ - Contains funstions to check : - - Name of project should not be blank. - - Name should not contain space between them. - - Name does not match with existing project. + Contains functions to create directory and validate file names. """ def __init__(self): @@ -21,7 +18,11 @@ class NewSub(QtGui.QWidget): def createSubcircuit(self, subName): """ - This function create Subcircuit related directories and files + - This function create workspace for subcircuit. + - It also validate file names for Subcircuits: + - File name should not contain space. + - Name can not be empty. + - File name already exists. """ self.create_schematic = subName # Checking if Workspace already exist or not |