mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Removed extraneous quotes in __repr__ methods
This commit is contained in:
parent
ff12e253af
commit
547acb2ecc
2 changed files with 2 additions and 2 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue