Ensure RegularMesh repr shows value for width of the mesh (#3100)

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
pitkajuh 2024-08-14 06:52:15 +00:00 committed by GitHub
parent 3ef54ec349
commit ae245e0fb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -787,8 +787,8 @@ class RegularMesh(StructuredMesh):
string += '{0: <16}{1}{2}\n'.format('\tDimensions', '=\t', self.n_dimension)
string += '{0: <16}{1}{2}\n'.format('\tVoxels', '=\t', self._dimension)
string += '{0: <16}{1}{2}\n'.format('\tLower left', '=\t', self._lower_left)
string += '{0: <16}{1}{2}\n'.format('\tUpper Right', '=\t', self._upper_right)
string += '{0: <16}{1}{2}\n'.format('\tWidth', '=\t', self._width)
string += '{0: <16}{1}{2}\n'.format('\tUpper Right', '=\t', self.upper_right)
string += '{0: <16}{1}{2}\n'.format('\tWidth', '=\t', self.width)
return string
@classmethod