Skip to content

Commit

Permalink
allow package to load on automerge
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed82008 committed Sep 21, 2021
1 parent 7dbd417 commit 27ea4cf
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions src/VTKDataIO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,23 @@ using LightXML
using IterTools
using Printf

const vtkns = pyimport_conda("vtk.util.numpy_support", "vtk")
const vtk = pyimport_conda("vtk", "vtk")
const np = pyimport_conda("numpy", "numpy")
if get(ENV, "JULIA_REGISTRYCI_AUTOMERGE", "false") == "false"
@eval begin
const vtkns = pyimport_conda("vtk.util.numpy_support", "vtk")
const vtk = pyimport_conda("vtk", "vtk")
const np = pyimport_conda("numpy", "numpy")

include("vtkreaders.jl")
include("vtkwriters.jl")
include("vtpwriter.jl")
include("stlIO.jl")
include("extra_readers.jl")
include("PyVTK.jl")
include("visualize.jl")
include("vtkreaders.jl")
include("vtkwriters.jl")
include("vtpwriter.jl")
include("stlIO.jl")
include("extra_readers.jl")
include("PyVTK.jl")
include("visualize.jl")

export read_vtk, write_vtk, read_stl, write_stl, valid_to_write, PyVTK,
_VTKDataTypes, visualize, write_x3d, write_ply, read_obj, read_ply, visualize_3ds
export read_vtk, write_vtk, read_stl, write_stl, valid_to_write, PyVTK,
_VTKDataTypes, visualize, write_x3d, write_ply, read_obj, read_ply, visualize_3ds
end
end

end

0 comments on commit 27ea4cf

Please sign in to comment.