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

Validation Run Failure #55

Closed
warnke opened this issue Dec 2, 2020 · 3 comments
Closed

Validation Run Failure #55

warnke opened this issue Dec 2, 2020 · 3 comments

Comments

@warnke
Copy link

warnke commented Dec 2, 2020

Trying to set up DCEMRI on linux box for testing. Previously, I received PyPlot not installed warnings, which led to results not being stored. After adding PyPlot Pkg.add("PyPlot") and using PyPlot, I run
validate(6, "/home/ubuntu/temp/"), but then get the following error:

Noisy data saved to /home/ubuntu/.julia/packages/DCEMRI/IqKLJ/src/../test/q6/qiba6noisy.mat
Running analysis of noise-free QIBA v6 data ...
running models
found existing R1 map
computing signal enhancement ratios
converting DCE signal to effective R1
converting effective R1 to tracer tissue concentration Ct
fitting DCE data
attempting Standard Tofts-Kety model
running 1321 x 30 points on one CPU core
processed 30 voxels in 1.1 s (26.9 vox/s)

Kt
	RMSE:	0.06905821162552696 %
	errmax:	0.12117793868366653
	CCC:	0.9999992183735924
ve
	RMSE:	0.08534905045247793 %
	errmax:	0.23374109637539464
	CCC:	0.9999993737058641
Plotting results ...
UndefVarError: figure not defined

Stacktrace:
 [1] #analyzer#15(::Int64, ::Bool, ::Bool, ::Function, ::Dict{Any,Any}, ::String) at /home/ubuntu/.julia/packages/DCEMRI/IqKLJ/src/validate.jl:87
 [2] #analyzer at /home/ubuntu/.julia/packages/DCEMRI/IqKLJ/src/validate.jl:0 [inlined]
 [3] #analyze#16 at /home/ubuntu/.julia/packages/DCEMRI/IqKLJ/src/validate.jl:200 [inlined]
 [4] #analyze at ./none:0 [inlined]
 [5] #validate#17(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Int64, ::String) at /home/ubuntu/.julia/packages/DCEMRI/IqKLJ/src/validate.jl:215
 [6] validate(::Int64, ::String) at /home/ubuntu/.julia/packages/DCEMRI/IqKLJ/src/validate.jl:206
 [7] top-level scope at In[22]:1```

Line 87 of validate.jl: 
`figure(figsize=(4.5,4.5))`
seems to be throwing the error

However, in julia repl, after `using PyPlot`, 
```>>> figure(figsize=(4.5,4.5))```
`Figure(PyObject <Figure size 450x450 with 0 Axes>)`

Thanks for your help!
@notZaki
Copy link
Contributor

notZaki commented Dec 2, 2020

Was the package installed from the registry?
I think that version is a bit out of date.

Try installing from the master branch

]add https://github.com/davidssmith/DCEMRI.jl.git#master

and hopefully that'll scare the errors away.

@warnke
Copy link
Author

warnke commented Dec 3, 2020

  • no more errors after upgrading to current master
  • I greatly appreciate your quick help @notZaki

@warnke warnke closed this as completed Dec 3, 2020
@davidssmith
Copy link
Owner

This is excellent news. I was just sitting down to look at this. Thank you, @notZaki

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

No branches or pull requests

3 participants