Closed kooldude2010 closed 4 years ago
@kooldude2010 Thanks for pointing out the issue. This was a bug and should be resolved in a future release. Until then, the error can be avoided by disabling the plots:
julia> validate(4; makeplots = false)
julia> validate(6; makeplots = false)
Completed installation steps as per readme. Got the below error when running validate()
_Plotting results ... ERROR: UndefVarError: figure not defined Stacktrace: [1] analyzer(::Dict{Any,Any}, ::String; dx::Int64, makeplots::Bool, isExt::Bool) at /Users/ravi/.julia/packages/DCEMRI/IqKLJ/src/validate.jl:87 [2] #analyze#16 at /Users/ravi/.julia/packages/DCEMRI/IqKLJ/src/validate.jl:198 [inlined] [3] validate(::Int64, ::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /Users/ravi/.julia/packages/DCEMRI/IqKLJ/src/validate.jl:215 [4] validate at /Users/ravi/.julia/packages/DCEMRI/IqKLJ/src/validate.jl:206 [inlined] [5] #validate#18 at /Users/ravi/.julia/packages/DCEMRI/IqKLJ/src/validate.jl:226 [inlined] [6] validate(::Int64) at /Users/ravi/.julia/packages/DCEMRI/IqKLJ/src/validate.jl:226
figure seems to be a function in PyPlot.jl but some how validate does not seem to find it. Any help resolving this would be greatly appreciated.