IsoSpecPy import error and Image Size Value Error
Created by: tanoury1
Hi,
I have followed the directions on Scott McIndoe's YouTube videos on installing PythoMS and dependencies/requirements. I ran the test case that comes with PythoMS-master and got 2 errors.
-
An import error with line 40 of molecule.py: I was able to fix it as “from IsoSpecPy.IsoSpecPy import IsoSpecPy” should be “from IsoSpecPy import IsoSpecPy”.
-
Image size error. The error output is below. I do not know how to fix this.
In [2]: runfile('C:/Program Files/PythoMS-master/video frame renderer.py', wdir='C:/Program Files/PythoMS-master') Data was read from PSI-MS, please cite DOI: 10.1093/database/bat009 2 summing and normalizing species traces DONE Binning spectrum #2147/2147 100.0% DONE Writing animation to file... Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\formatters.py", line 341, in call return printer(obj)
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\pylabtools.py", line 244, in png_formatter.for_type(Figure, lambda fig: print_figure(fig, 'png', **kwargs))
File "C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\pylabtools.py", line 128, in print_figure fig.canvas.print_figure(bytes_io, **kw)
File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\backend_bases.py", line 2082, in print_figure **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\backends\backend_agg.py", line 527, in print_png FigureCanvasAgg.draw(self)
File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\backends\backend_agg.py", line 386, in draw self.renderer = self.get_renderer(cleared=True)
File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\backends\backend_agg.py", line 399, in get_renderer self.renderer = RendererAgg(w, h, self.figure.dpi)
File "C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\backends\backend_agg.py", line 86, in init self._renderer = _RendererAgg(int(width), int(height), dpi)
ValueError: Image size of 77389x750 pixels is too large. It must be less than 2^16 in each direction.