diff options
Diffstat (limited to 'src/ngspicetoModelica/NgspicetoModelica.py')
-rw-r--r-- | src/ngspicetoModelica/NgspicetoModelica.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 3b1752d3..95f991bd 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -166,9 +166,12 @@ class NgMoConverter: """ Split the number k,u,p,t,g etc into powers e3,e-6 etc """ + print "Val------------->",val for i in range(0,len(val),1): + print "Val[i]----------------->",val[i] if val[i] in ['k','u','p','t','g','m','n','f']: newval = val.split(val[i]) + print "new Value------------>",newval if val[i] == 'k': value = newval[0] + 'e3' if val[i] == 'u': |