mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Removed quotations around string args in __repr__ methods
This commit is contained in:
parent
f012c03e2b
commit
d0afb964b7
14 changed files with 158 additions and 158 deletions
|
|
@ -185,13 +185,13 @@ class Mesh(object):
|
|||
|
||||
def __repr__(self):
|
||||
string = 'Mesh\n'
|
||||
string += '{0: <16}"{1}""{2}"\n'.format('\tID', '=\t', self._id)
|
||||
string += '{0: <16}"{1}""{2}"\n'.format('\tName', '=\t', self._name)
|
||||
string += '{0: <16}"{1}""{2}"\n'.format('\tType', '=\t', self._type)
|
||||
string += '{0: <16}"{1}""{2}"\n'.format('\tBasis', '=\t', self._dimension)
|
||||
string += '{0: <16}"{1}""{2}"\n'.format('\tWidth', '=\t', self._lower_left)
|
||||
string += '{0: <16}"{1}""{2}"\n'.format('\tOrigin', '=\t', self._upper_right)
|
||||
string += '{0: <16}"{1}""{2}"\n'.format('\tPixels', '=\t', self._width)
|
||||
string += '{0: <16}{1}{2}\n'.format('\tID', '=\t', self._id)
|
||||
string += '{0: <16}{1}{2}\n'.format('\tName', '=\t', self._name)
|
||||
string += '{0: <16}{1}{2}\n'.format('\tType', '=\t', self._type)
|
||||
string += '{0: <16}{1}{2}\n'.format('\tBasis', '=\t', self._dimension)
|
||||
string += '{0: <16}{1}{2}\n'.format('\tWidth', '=\t', self._lower_left)
|
||||
string += '{0: <16}{1}{2}\n'.format('\tOrigin', '=\t', self._upper_right)
|
||||
string += '{0: <16}{1}{2}\n'.format('\tPixels', '=\t', self._width)
|
||||
return string
|
||||
|
||||
def get_mesh_xml(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue