Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removing redundant origin from SphericalMesh.__repr__
  • Loading branch information
pshriwise committed Jun 5, 2025
commit eaecd62d01d6676864bd1db3b17451f450050596
5 changes: 0 additions & 5 deletions openmc/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -2153,11 +2153,6 @@ def __repr__(self):
if self._phi_grid is not None:
string += fmt.format('\tPhi Min:', '=\t', self._phi_grid[0])
string += fmt.format('\tPhi Max:', '=\t', self._phi_grid[-1])
if self.origin is not None:
string += fmt.format('\tOrigin:', '=\t', self.origin)
else:
string += fmt.format('\tOrigin:', '=\t', '[0.0, 0.0, 0.0]')
return string
Comment thread
pshriwise marked this conversation as resolved.
Resolved

@classmethod
def from_hdf5(cls, group: h5py.Group, mesh_id: int, name: str):
Expand Down