Skip to content

Commit

Permalink
Don't create empty directory in pvtk_grid (#143)
Browse files Browse the repository at this point in the history
Fixes #142
  • Loading branch information
jipolanco committed Apr 4, 2024
1 parent c0bd111 commit a0c1bb7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gridtypes/pvtk_grid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ function pvtk_grid(
nparts = _pvtk_nparts(is_structured; kwargs...)
extents = _pvtk_extents(is_structured; kwargs...)

dir_serial = filename * "_dir" # directory where serial files will be written
mkpath(dir_serial)
prefix = _pvtk_vtk_filename_prefix(filename; relative_to_pvtk = false, create_dirs = true)
filename_serial = _serial_filename(part, nparts, prefix, "")

Expand Down

0 comments on commit a0c1bb7

Please sign in to comment.