Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running validate(). #51

Closed
kooldude2010 opened this issue Aug 20, 2020 · 1 comment · Fixed by #52
Closed

Error when running validate(). #51

kooldude2010 opened this issue Aug 20, 2020 · 1 comment · Fixed by #52

Comments

@kooldude2010
Copy link

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
[7] top-level scope at REPL[31]:1

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.

@notZaki
Copy link
Contributor

notZaki commented Aug 23, 2020

@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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants