-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
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'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels