-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
i am attempting to run:
agfusion annotate -g5 KIAA1328 -g3 PIEZO2 -j5 36829439 -j3 10979660 -db agfusion.homo_sapiens.111.db -o testit/ --middlestar
and i get the error traceback as follows:
Traceback (most recent call last):
File "/usr/local/bin/agfusion", line 5, in <module>
cli.main()
File "/usr/local/lib/python3.10/dist-packages/agfusion/cli.py", line 608, in main
annotate(
File "/usr/local/lib/python3.10/dist-packages/agfusion/cli.py", line 131, in annotate
fusion.save_images(
File "/usr/local/lib/python3.10/dist-packages/agfusion/model.py", line 477, in save_images
pplot.save()
File "/usr/local/lib/python3.10/dist-packages/agfusion/plot.py", line 38, in save
self.fig.savefig(self.filename, dpi=self.dpi, bbox_inches="tight")
File "/usr/local/lib/python3.10/dist-packages/matplotlib/figure.py", line 3395, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 2204, in print_figure
result = print_method(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 2054, in <lambda>
print_method = functools.wraps(meth)(lambda *args, **kwargs: meth(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/backends/backend_agg.py", line 496, in print_png
self._print_pil(filename_or_obj, "png", pil_kwargs, metadata)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/backends/backend_agg.py", line 444, in _print_pil
FigureCanvasAgg.draw(self)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/backends/backend_agg.py", line 382, in draw
self.renderer = self.get_renderer()
File "/usr/local/lib/python3.10/dist-packages/matplotlib/backends/backend_agg.py", line 397, in get_renderer
self.renderer = RendererAgg(w, h, self.figure.dpi)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/backends/backend_agg.py", line 70, in __init__
self._renderer = _RendererAgg(int(width), int(height), dpi)
ValueError: Image size of 101044x262 pixels is too large. It must be less than 2^16 in each direction.
I'm not really sure why this error occurs but it doesn't seem as if there's anything unusual about this fusion. in batch mode, the run is interrupted instead of just logging the error and proceeding. Using --type pdf avoids the error, the pdf appears to render normally.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels