You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just trying to process a photon file and getting this error
Found 61 photon ENDF files
[1/61] ph_0100_1-H
Traceback (most recent call last):
File "/home/jon/cross_section_data_fendl_3.2c/.venv/bin/convert-fendl", line 8, in <module>
sys.exit(main())
~~~~^^
File "/home/jon/cross_section_data_fendl_3.2c/.venv/lib/python3.13/site-packages/nuclear_data_to_yamc_format/cli/convert_fendl.py", line 129, in main
convert_photon_endf(photo_path, photon_dest, library=lib_name)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jon/cross_section_data_fendl_3.2c/.venv/lib/python3.13/site-packages/nuclear_data_to_yamc_format/__init__.py", line 123, in convert_photon_endf
data = openmc.data.IncidentPhoton.from_endf(ev)
File "/home/jon/cross_section_data_fendl_3.2c/.venv/lib/python3.13/site-packages/openmc/data/photon.py", line 625, in from_endf
ev = Evaluation(photoatomic)
File "/home/jon/cross_section_data_fendl_3.2c/.venv/lib/python3.13/site-packages/openmc/data/endf.py", line 82, in __init__
if fh.tell() == 0:
^^^^^^^
AttributeError: 'Material' object has no attribute 'tell'
Activity
paulromano commentedon Jun 6, 2026
Should be fixed now that openmc-dev/openmc#3932 was merged