diff --git a/openmc/mgxs/library.py b/openmc/mgxs/library.py index 34db5d9c83..b41b985f1d 100644 --- a/openmc/mgxs/library.py +++ b/openmc/mgxs/library.py @@ -62,8 +62,9 @@ class Library(object): compute the cross section all_mgxs : OrderedDict MGXS objects keyed by domain ID and cross section type - statepoint : openmc.StatePoint - The statepoint with tally data used to the compute cross sections + sp_filename : str + The filename of the statepoint with tally data used to the + compute cross sections name : str, optional Name of the multi-group cross section library. Used as a label to identify tallies in OpenMC 'tallies.xml' file. @@ -341,7 +342,9 @@ class Library(object): ---------- domain : Material or Cell or Universe or Integral The material, cell, or universe object of interest (or its ID) - mgxs_type : {'total', 'transport', 'absorption', 'capture', 'fission', 'nu-fission', 'scatter', 'nu-scatter', 'scatter matrix', 'nu-scatter matrix', 'chi'} + mgxs_type : {'total', 'transport', 'absorption', 'capture', 'fission', + 'nu-fission', 'scatter', 'nu-scatter', 'scatter matrix', + 'nu-scatter matrix', 'chi'} The type of multi-group cross section object to return Returns diff --git a/openmc/mgxs/mgxs.py b/openmc/mgxs/mgxs.py index 9e2fcbf00f..2ad5c6234b 100644 --- a/openmc/mgxs/mgxs.py +++ b/openmc/mgxs/mgxs.py @@ -1998,7 +1998,7 @@ class NuScatterMatrixXS(ScatterMatrixXS): """ # Instantiate tallies if they do not exist - if super(NuScatterMatrixXS, self).tallies is None: + if super(ScatterMatrixXS, self).tallies is None: # Create the non-domain specific Filters for the Tallies group_edges = self.energy_groups.group_edges