Error displaying UnderwaterAcoustics.BasicUnderwaterEnvironment #44
-
Hi, I am getting this error when trying to set up the env variable. env = UnderwaterEnvironment() Error displaying UnderwaterAcoustics.BasicUnderwaterEnvironment{FlatSurface, ConstantDepth{Float64}, IsoSSP{Float64}, Float64, SurfaceLoss{Float64}, RayleighReflectionCoef{Float64, Float64, Float64}, RedGaussianNoise{Float64}}: MethodError: no method matching replace(::String, ::Pair{Regex, String}, ::Pair{Regex, String}) I am not sure if this is a local problem in my ATOM config or what? Hope you can help, thanks a lot |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sounds like a Julia version issue. Are you on Julia 1.6? The error message suggests a problem with calling
Since the I'll transfer this to an issue to fix. In the meantime, moving to Julia 1.7 should fix it for you, I think. |
Beta Was this translation helpful? Give feedback.
Sounds like a Julia version issue. Are you on Julia 1.6?
The error message suggests a problem with calling
replace()
with multiple patterns. From the docs:Since the
compat
entry marksUnderwaterAcoustics.jl
to be compatible with Julia 1.6, this should be categorized as a bug. The CI is set up for Julia 1.6, but the display on REPL method is probably missed being covered.I'll transfer this to an issue to fix. In the meantime, moving to Julia 1.7 should fix it for you, I think.