diff --git a/pythonVtk/python_vtk/vtkService/makeLittleVtk.py b/pythonVtk/python_vtk/vtkService/makeLittleVtk.py index fb4ff371c6..57ba15ba67 100644 --- a/pythonVtk/python_vtk/vtkService/makeLittleVtk.py +++ b/pythonVtk/python_vtk/vtkService/makeLittleVtk.py @@ -1,6 +1,6 @@ import vtk -import vtkService.vtkService as vtkService +import python_vtk.vtkService.vtkService as vtkService x = [1, 2, 3, 4] y = [1, 2, 3, 4] diff --git a/pythonVtk/python_vtk/vtkService/vtkAddData_not_used.py b/pythonVtk/python_vtk/vtkService/vtkAddData_not_used.py index f5cd87c8cd..d0067e8be8 100644 --- a/pythonVtk/python_vtk/vtkService/vtkAddData_not_used.py +++ b/pythonVtk/python_vtk/vtkService/vtkAddData_not_used.py @@ -3,7 +3,7 @@ import numpy as np import vtk -from vtkService.vtkService import writeDataArrayToNewVtkFile +from python_vtk.vtkService.vtkService import writeDataArrayToNewVtkFile def main(): diff --git a/pythonVtk/python_vtk/vtkService/vtkService.py b/pythonVtk/python_vtk/vtkService/vtkService.py index 42c5562a8f..b63485fbd2 100644 --- a/pythonVtk/python_vtk/vtkService/vtkService.py +++ b/pythonVtk/python_vtk/vtkService/vtkService.py @@ -9,15 +9,15 @@ from thrift.TSerialization import deserialize from thrift.TSerialization import serialize -from vcellvismesh.ttypes import ChomboIndexData -from vcellvismesh.ttypes import FiniteVolumeIndexData -from vcellvismesh.ttypes import MovingBoundaryIndexData -from vcellvismesh.ttypes import PolyhedronFace -from vcellvismesh.ttypes import VisIrregularPolyhedron -from vcellvismesh.ttypes import VisLine -from vcellvismesh.ttypes import VisMesh -from vcellvismesh.ttypes import VisPolygon -from vcellvismesh.ttypes import VisTetrahedron +from python_vtk.vcellvismesh.ttypes import ChomboIndexData +from python_vtk.vcellvismesh.ttypes import FiniteVolumeIndexData +from python_vtk.vcellvismesh.ttypes import MovingBoundaryIndexData +from python_vtk.vcellvismesh.ttypes import PolyhedronFace +from python_vtk.vcellvismesh.ttypes import VisIrregularPolyhedron +from python_vtk.vcellvismesh.ttypes import VisLine +from python_vtk.vcellvismesh.ttypes import VisMesh +from python_vtk.vcellvismesh.ttypes import VisPolygon +from python_vtk.vcellvismesh.ttypes import VisTetrahedron def writeChomboVolumeVtkGridAndIndexData(visMesh: VisMesh, domainname: str, vtkfile, indexfile) -> None: diff --git a/vcell-core/src/main/java/org/vcell/vis/vtk/VtkServicePython.java b/vcell-core/src/main/java/org/vcell/vis/vtk/VtkServicePython.java index 91f913022b..f08116d1c7 100644 --- a/vcell-core/src/main/java/org/vcell/vis/vtk/VtkServicePython.java +++ b/vcell-core/src/main/java/org/vcell/vis/vtk/VtkServicePython.java @@ -62,7 +62,7 @@ private void callVtkPython(MeshType meshtype, String domainName, Path visMeshFil String.valueOf(visMeshFile.toAbsolutePath()), String.valueOf(vtkFile.toAbsolutePath()), String.valueOf(indexFile.toAbsolutePath()) }; - PythonUtils.callPoetryModule(vtkPythonDir, "vtkService.vtkService", commands); + PythonUtils.callPoetryModule(vtkPythonDir, "python_vtk.vtkService.vtkService", commands); } }