diff options
author | fahim-oscad | 2016-04-18 13:56:03 +0530 |
---|---|---|
committer | fahim-oscad | 2016-04-18 13:56:03 +0530 |
commit | 55cfe66779913747c29f8c4fbc7e1a8e02c04f3c (patch) | |
tree | 6cfcaea11fee0f8b68617c25b15d2f52d6eea430 /src | |
parent | 93dec048fc303048c8391b71f93add6b6d294b23 (diff) | |
download | eSim-55cfe66779913747c29f8c4fbc7e1a8e02c04f3c.tar.gz eSim-55cfe66779913747c29f8c4fbc7e1a8e02c04f3c.tar.bz2 eSim-55cfe66779913747c29f8c4fbc7e1a8e02c04f3c.zip |
Modeified Lower case of Voltage Issue
Diffstat (limited to 'src')
-rw-r--r-- | src/ngspicetoModelica/NgspicetoModelica.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 0ea21b8d..b6ea5835 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -269,8 +269,12 @@ class NgMoConverter: #Lets Start with Source details for eachline in self.sourceDetail: - #eachline = eachline.lower() words = eachline.split() + #Preserve component name from lower case function + compName = words[0] + #Now Lower case all other + words = eachline.lower().split() + words[0] = compName typ = words[3].split('(') if typ[0] == "pulse": per = words[9].split(')') |