Skip to content

Commit

Permalink
Merge branch 'main' of github.com:tverho/ReadVTK.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
tverho committed Oct 27, 2024
2 parents 14520c6 + 1b5bb13 commit 39054ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReadVTK.jl
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ function get_field_data(vtk_file::VTKFile)
# Iterate over XML elemens in the section
for xml_element in child_elements(field_data(vtk_file))
# We do not know how to handle anything other than `DataArray`s
@assert LightXML.name(xml_element) == "DataArray"
LightXML.name(xml_element) != "DataArray" && continue

# Store the name and the XML element for each found data array
push!(names, attribute(xml_element, "Name", required = true))
Expand Down

0 comments on commit 39054ba

Please sign in to comment.