Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/endf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from .material import *
from .incident_neutron import *
from .incident_photon import *
from .function import *
from .product import *
from .reaction import *
Expand Down
2 changes: 2 additions & 0 deletions src/endf/ace.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,8 @@ def interpret(self, **kwargs) -> Any:
"""
if self.data_type == TableType.NEUTRON_CONTINUOUS:
return endf.IncidentNeutron.from_ace(self, **kwargs)
elif self.data_type == TableType.PHOTOATOMIC:
return endf.IncidentPhoton.from_ace(self, **kwargs)
else:
raise NotImplementedError(f"No class implemented for {self.data_type}")

Expand Down
Loading