[fluka-discuss]: flair example

From: Zhiyi Liu <zhiyil_at_triumf.ca>
Date: Tue, 01 Oct 2013 10:13:28 -0700

In the example, tutorial.flair, I tried to make a resnuc plot. However,
I got an error like this:
Traceback (most recent call last):
   File "/data3/zhiyil/FLUKA/flair/flair-1.2/tkFlair.py", line 1166, in
     return self.func(*args)
   File "/data3/zhiyil/FLUKA/flair/flair-1.2/PlotFrame.py", line 2323,
in replot
   File "/data3/zhiyil/FLUKA/flair/flair-1.2/ResnucleiPlot.py", line
615, in doPlot
     if not self.writeData():
   File "/data3/zhiyil/FLUKA/flair/flair-1.2/ResnucleiPlot.py", line
555, in writeData
     amax = min(2*zh + mh + nmz, len(A))
UnboundLocalError: local variable 'A' referenced before assignment
Any hints? I believe the examples are tested before they are released. I
am using Flair 1.2.1.

Received on Tue Oct 01 2013 - 20:12:42 CEST

This archive was generated by hypermail 2.3.0 : Tue Oct 01 2013 - 20:12:43 CEST