Skip to content

Commit 0eb0c7d

Browse files
Added new (and missing) python-vtk prefix
1 parent 88da4b8 commit 0eb0c7d

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

pythonVtk/python_vtk/vtkService/makeLittleVtk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import vtk
22

3-
import vtkService.vtkService as vtkService
3+
import python_vtk.vtkService.vtkService as vtkService
44

55
x = [1, 2, 3, 4]
66
y = [1, 2, 3, 4]

pythonVtk/python_vtk/vtkService/vtkAddData_not_used.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import numpy as np
44
import vtk
55

6-
from vtkService.vtkService import writeDataArrayToNewVtkFile
6+
from python_vtk.vtkService.vtkService import writeDataArrayToNewVtkFile
77

88

99
def main():

pythonVtk/python_vtk/vtkService/vtkService.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
from thrift.TSerialization import deserialize
1010
from thrift.TSerialization import serialize
1111

12-
from vcellvismesh.ttypes import ChomboIndexData
13-
from vcellvismesh.ttypes import FiniteVolumeIndexData
14-
from vcellvismesh.ttypes import MovingBoundaryIndexData
15-
from vcellvismesh.ttypes import PolyhedronFace
16-
from vcellvismesh.ttypes import VisIrregularPolyhedron
17-
from vcellvismesh.ttypes import VisLine
18-
from vcellvismesh.ttypes import VisMesh
19-
from vcellvismesh.ttypes import VisPolygon
20-
from vcellvismesh.ttypes import VisTetrahedron
12+
from python_vtk.vcellvismesh.ttypes import ChomboIndexData
13+
from python_vtk.vcellvismesh.ttypes import FiniteVolumeIndexData
14+
from python_vtk.vcellvismesh.ttypes import MovingBoundaryIndexData
15+
from python_vtk.vcellvismesh.ttypes import PolyhedronFace
16+
from python_vtk.vcellvismesh.ttypes import VisIrregularPolyhedron
17+
from python_vtk.vcellvismesh.ttypes import VisLine
18+
from python_vtk.vcellvismesh.ttypes import VisMesh
19+
from python_vtk.vcellvismesh.ttypes import VisPolygon
20+
from python_vtk.vcellvismesh.ttypes import VisTetrahedron
2121

2222

2323
def writeChomboVolumeVtkGridAndIndexData(visMesh: VisMesh, domainname: str, vtkfile, indexfile) -> None:

vcell-core/src/main/java/org/vcell/vis/vtk/VtkServicePython.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private void callVtkPython(MeshType meshtype, String domainName, Path visMeshFil
6262
String.valueOf(visMeshFile.toAbsolutePath()),
6363
String.valueOf(vtkFile.toAbsolutePath()),
6464
String.valueOf(indexFile.toAbsolutePath()) };
65-
PythonUtils.callPoetryModule(vtkPythonDir, "vtkService.vtkService", commands);
65+
PythonUtils.callPoetryModule(vtkPythonDir, "python_vtk.vtkService.vtkService", commands);
6666
}
6767

6868
}

0 commit comments

Comments
 (0)