Removed extraneous quotes in __repr__ methods

This commit is contained in:
Will Boyd 2015-08-04 21:36:18 -07:00
parent ff12e253af
commit 547acb2ecc
2 changed files with 2 additions and 2 deletions

View file

@ -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')

View file

@ -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)