mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Clarify error messages when checking cell/lattice offsets
This commit is contained in:
parent
06d531aa39
commit
c8d0185bac
1 changed files with 2 additions and 2 deletions
|
|
@ -160,7 +160,7 @@ class Cell(object):
|
|||
|
||||
@offsets.setter
|
||||
def offsets(self, offsets):
|
||||
check_type('offsets', offsets, Iterable)
|
||||
check_type('cell offsets', offsets, Iterable)
|
||||
self._offsets = offsets
|
||||
|
||||
def add_surface(self, surface, halfspace):
|
||||
|
|
@ -839,7 +839,7 @@ class RectLattice(Lattice):
|
|||
|
||||
@offsets.setter
|
||||
def offsets(self, offsets):
|
||||
check_type('offsets', offsets, Iterable)
|
||||
check_type('lattice offsets', offsets, Iterable)
|
||||
self._offsets = offsets
|
||||
|
||||
@Lattice.pitch.setter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue