Skip to content

_tkinter.TclError: couldn't connect to display "localhost:12.0" #3

@unclesho

Description

@unclesho

trace:
std=.1.000000 has illegal value for SNPs[:][44]
Two or more individuals have the same phenotype value. If the data is censored, an appropriate censorship model is needed before the data is passed to WarpedLMM.
Optimization restart 1/3, f: -103.9284
Optimization restart 2/3, f: -103.2122
Optimization restart 3/3, f: -103.9237
WARNING:root:NaN beta value seen, may be due to an SNC (a constant SNP)
Iteration: 1, significant SNPs: 51, included SNPs: 0, heritability: 0.4054, f: 103.928415209
Two or more individuals have the same phenotype value. If the data is censored, an appropriate censorship model is needed before the data is passed to WarpedLMM.
Optimization restart 1/3, f: -103.2131
Optimization restart 2/3, f: -108.4375
Optimization restart 3/3, f: -137.6876
WARNING:root:NaN beta value seen, may be due to an SNC (a constant SNP)
Iteration: 2, significant SNPs: 0, included SNPs: 1, heritability: 1.0000, f: 137.687583974
WARNING:root:NaN beta value seen, may be due to an SNC (a constant SNP)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/site-packages/warpedlmm/main.py", line 82, in
m.plot_warping()
File "/usr/local/lib/python2.7/site-packages/warpedlmm/warpedlmm.py", line 209, in plot_warping
self.warping_function.plot(self.warping_params, self.Y_untransformed.min(), self.Y_untransformed.max())
File "/usr/local/lib/python2.7/site-packages/warpedlmm/util/warping_functions.py", line 37, in plot
plt.figure()
File "/usr/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 435, in figure
**kwargs)
File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 81, in new_figure_manager
return new_figure_manager_given_figure(num, figure)
File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 89, in new_figure_manager_given_figure
window = Tk.Tk()
File "/usr/local/lib/python2.7/lib-tk/Tkinter.py", line 1745, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display "localhost:12.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions