You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/scratch/tcj25/root/.virtualenvs/35/bin/proteins-to-viruses.py", line 108, in <module>
sampleTotalReadCountFilename=args.sampleTotalReadCountFilename))
File "/scratch/tcj25/root/.virtualenvs/35/lib/python3.5/site-packages/dark/proteins.py", line 319, in toHTML
self.virusPanel(virusPanelFilename, sampleTotalReadCountFilename)
File "/scratch/tcj25/root/.virtualenvs/35/lib/python3.5/site-packages/dark/proteins.py", line 709, in virusPanel
figure, ax = plt.subplots(rows, cols) # , squeeze=False)
File "/scratch/tcj25/root/.virtualenvs/35/lib/python3.5/site-packages/matplotlib/pyplot.py", line 1186, in subplots
ax0 = fig.add_subplot(gs[0, 0], **subplot_kw)
File "/scratch/tcj25/root/.virtualenvs/35/lib/python3.5/site-packages/matplotlib/gridspec.py", line 154, in __getitem__
raise IndexError("index out of range")
IndexError: index out of range
make: *** [index] Error 1
This happens when rows = 0 in the following (from proteins.py line 707):
Here's an exception:
This happens when
rows = 0
in the following (fromproteins.py
line 707):rows
will be0
whenvirusTitles
is0
. Presumably we shouldn't have calledvirusPanel
in this case.This is all triggered by running
so fix it in
toHTML
or similar.The text was updated successfully, but these errors were encountered: