Skip to content

Commit

Permalink
Fixing docstring (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science committed Mar 18, 2022
1 parent 7d9ef5f commit d2e451e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions armi/nuclearDataIO/xsLibraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def get(self, nuclideLabel, default):

def getNuclide(self, nucName, suffix):
"""
Get a nuclide object from the XS library or None.
Get a nuclide object from the XS library.
Parameters
----------
Expand All @@ -420,8 +420,8 @@ def getNuclide(self, nucName, suffix):
nuclide : Nuclide object
A nuclide from the library or None
"""

libLabel = nuclideBases.byName[nucName].label + suffix

try:
return self[libLabel]
except KeyError:
Expand Down Expand Up @@ -512,7 +512,6 @@ def getScatterWeights(self, scatterMatrixKey="elasticScatter"):
--------
_buildScatterWeights
"""

if not self._scatterWeights.get(scatterMatrixKey):
self._scatterWeights[scatterMatrixKey] = self._buildScatterWeights(
scatterMatrixKey
Expand Down Expand Up @@ -557,7 +556,6 @@ def plotNucXs(
"""
generates a XS plot for a nuclide on the ISOTXS library
nucName : str or list
The nuclides to plot
xsName : str or list
Expand All @@ -583,7 +581,6 @@ def plotNucXs(
armi.nucDirectory.nuclide.plotScatterMatrix
"""

# convert all input to lists
if isinstance(nucNames, str):
nucNames = [nucNames]
Expand Down

0 comments on commit d2e451e

Please sign in to comment.