Hi, i am new to Openmc,Trying to run the gamma detector ipynb.example it rises lookup error('Unable to get Tally')

Hi sajal here, i am new to Openmc,Trying to run the gamma detector ipynb.example it rises lookup error(‘Unable to get Tally’).My version is 0.15.3 does it support tally?can any body help?

Could you paste the full code block that includes the tally definitions? I don’t know exactly where the issue is, but I suspect it might be a tally naming mistake. It’s possible that in a line like:

python

pulse_height_tally = openmc.Tally(tally_id=?, name='???')

you accidentally wrote name='tally' instead of the actual name you meant to use — which would cause the later lookup for a tally named 'pulse_height' to fail, since no tally with that name actually exists.