Clarify that layer can be a tuple
This commit is contained in:
parent
6bafaaf4fc
commit
86068102d9
@ -31,8 +31,8 @@ class Shape(metaclass=ABCMeta):
|
|||||||
# [x_offset, y_offset]
|
# [x_offset, y_offset]
|
||||||
_offset = numpy.array([0.0, 0.0]) # type: numpy.ndarray
|
_offset = numpy.array([0.0, 0.0]) # type: numpy.ndarray
|
||||||
|
|
||||||
# Layer (integer >= 0)
|
# Layer (integer >= 0 or tuple)
|
||||||
_layer = 0 # type: int
|
_layer = 0 # type: int or Tuple
|
||||||
|
|
||||||
# Dose
|
# Dose
|
||||||
_dose = 1.0 # type: float
|
_dose = 1.0 # type: float
|
||||||
|
Loading…
Reference in New Issue
Block a user