diff --git a/openmc/material.py b/openmc/material.py index 0f5a5a4434..e495357b54 100644 --- a/openmc/material.py +++ b/openmc/material.py @@ -338,7 +338,7 @@ class Material(object): string += '{0: <16}{1}{2}\n'.format('\tName', '=\t', self._name) string += '{0: <16}{1}{2}'.format('\tDensity', '=\t', self._density) - string += ' ["{0}"]\n'.format(self._density_units) + string += ' [{0}]\n'.format(self._density_units) string += '{0: <16}\n'.format('\tS(a,b) Tables') diff --git a/openmc/nuclide.py b/openmc/nuclide.py index 6f6f75f9c9..7e7cd5af35 100644 --- a/openmc/nuclide.py +++ b/openmc/nuclide.py @@ -88,7 +88,7 @@ class Nuclide(object): self._zaid = zaid def __repr__(self): - string = 'Nuclide - "{0}"\n'.format(self._name) + string = 'Nuclide - {0}\n'.format(self._name) string += '{0: <16}{1}{2}\n'.format('\tXS', '=\t', self._xs) if self._zaid is not None: string += '{0: <16}{1}{2}\n'.format('\tZAID', '=\t', self._zaid)