hughesadam87 / PAME

Personal programs for fiber optic nanobiosensing simulations.
Other
5 stars 5 forks source link

All layers in Dielectric Slab #20

Closed evelynzl closed 9 years ago

evelynzl commented 9 years ago

If select the All layers in Dielectric Slab and start the simulation:

running sim with traits ['selected_material.Vfrac']
recomputing optical stack
Exception occurred in traits notification handler for object: <pame.gensim.LayerSimulation object at 0x111b54650>, trait: start, old value: <undefined>, new value: 0
Traceback (most recent call last):
  File "/Users/zhaowenliu/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/traits-4.6.0.dev177-py2.7-macosx-10.6-x86_64.egg/traits/trait_notifiers.py", line 340, in __call__
    self.handler( *args )
  File "/Users/zhaowenliu/Documents/Tooklits/fibersim/pame/gensim.py", line 446, in _start_fired
    self.runsim()
  File "/Users/zhaowenliu/Documents/Tooklits/fibersim/pame/gensim.py", line 622, in runsim
    results_increment['dielectric_layers'] = b_app.stack.simulation_requested()
AttributeError: 'TraitListObject' object has no attribute 'simulation_requested'