Skip to content

Commit

Permalink
Added new (and missing) python-vtk prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Jan 7, 2025
1 parent 88da4b8 commit 0eb0c7d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pythonVtk/python_vtk/vtkService/makeLittleVtk.py
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion pythonVtk/python_vtk/vtkService/vtkAddData_not_used.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numpy as np
import vtk

from vtkService.vtkService import writeDataArrayToNewVtkFile
from python_vtk.vtkService.vtkService import writeDataArrayToNewVtkFile


def main():
Expand Down
18 changes: 9 additions & 9 deletions pythonVtk/python_vtk/vtkService/vtkService.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

}

0 comments on commit 0eb0c7d

Please sign in to comment.