Skip to content

Commit

Permalink
fix: drop eval
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaniaguam committed Oct 17, 2024
1 parent 316a2aa commit 9482630
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/IceFloeTracker.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ function __init__()
_modules = ["measure", "exposure"]
for _module in _modules
imported_module = pyimport_conda("skimage.$_module", "$(pkg)=$(version)")
reference_module = eval(Symbol("sk_$_module"))

reference_module = getfield(Main, Symbol("sk_$_module"))
copy!(reference_module, imported_module)
end

Expand All @@ -124,6 +125,7 @@ function __init__()
return nothing
end


include("regionprops.jl")
include("segmentation_a_direct.jl")
include("segmentation_b.jl")
Expand Down

0 comments on commit 9482630

Please sign in to comment.