Skip to content

Commit

Permalink
Update Wrappers/Python/ccpi/viewer/utils/conversion.py
Browse files Browse the repository at this point in the history
Co-authored-by: Edoardo Pasca <14138589+paskino@users.noreply.github.com>
  • Loading branch information
DanicaSTFC and paskino authored Aug 27, 2024
1 parent d0516f8 commit b725a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wrappers/Python/ccpi/viewer/utils/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class Converter(object):
@staticmethod
def numpy2vtkImage(nparray, spacing=(1., 1., 1.), origin=(0, 0, 0), deep=0, output=None):
"""The method converts a numpy array to a vtk image.
The vtk extend is set and needs to differentiate between 3D and 2D images."""
The vtk extent is set and needs to differentiate between 3D and 2D images."""
shape = numpy.shape(nparray)
if (nparray.flags["FNC"]):

Expand Down

0 comments on commit b725a94

Please sign in to comment.