mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-28 20:46:58 +00:00
try catch to ignore *ELSET creation from existing sets
This commit is contained in:
@@ -145,7 +145,13 @@ function parse_section(model, lines, key, idx_start, idx_end, ::Union{Type{Val{:
|
||||
if !(empty_or_comment_line(line))
|
||||
m = matchall(r"[0-9]+", line)
|
||||
set_ids = map(s -> parse(Int, s), m)
|
||||
push!(data, set_ids...)
|
||||
try
|
||||
push!(data, set_ids...)
|
||||
catch err
|
||||
if isa(err, MethodError)
|
||||
warn("Problems with element set creation")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user