Skip to content

Commit

Permalink
Panmictic EcoLab now working again with new Classdesc.
Browse files Browse the repository at this point in the history
  • Loading branch information
highperformancecoder committed Sep 11, 2024
1 parent cc7825b commit a23d937
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion classdesc
Submodule classdesc updated 1 files
+627 −590 pythonBuffer.h
2 changes: 1 addition & 1 deletion lib/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def getPlot(name):
plotName='plot#'+name.replace(' ','')
if not plotName in ecolab.__dict__:
Plot(plotName)
ecolab.register(Plot(),plotName)
plotWindow=Tk()
plotWindow.wm_title(name)
plotWindow.eval('load '+ecolabHome()+'/lib/ecolab.so')
Expand Down
2 changes: 1 addition & 1 deletion models/panmictic_ecolab.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def step():
nsp=len(ecolab.species)
statusBar.configure(text=f't={ecolab.tstep()} nsp:{nsp}')
plot('No. species',ecolab.tstep(),nsp)
plot('Density',ecolab.tstep(),ecolab.density()._properties, pens=ecolab.species()._properties)
plot('Density',ecolab.tstep(),ecolab.density(), pens=ecolab.species())

gui(step)

Expand Down

0 comments on commit a23d937

Please sign in to comment.