mpc-bioinformatics / ProtGraph

ProtGraph - A Graph-Generator for Proteins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error occures when digesting via full

Luxxii opened this issue · comments

An error which is not catched occurs, when digesting via the digestion method full

Here is the stacktrace:

Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/luxii/.local/share/virtualenvs/ProtGraph-x7sicAnP/lib/python3.8/site-packages/protgraph-0.1.0-py3.8.egg/protgraph/graph_generator.py", line 119, in generate_graph_consumer
    num_of_cleavages = digest(graph, kwargs["digestion"])
  File "/home/luxii/.local/share/virtualenvs/ProtGraph-x7sicAnP/lib/python3.8/site-packages/protgraph-0.1.0-py3.8.egg/protgraph/digestion.py", line 11, in digest
    return dict(
  File "/home/luxii/.local/share/virtualenvs/ProtGraph-x7sicAnP/lib/python3.8/site-packages/protgraph-0.1.0-py3.8.egg/protgraph/digestion.py", line 114, in _digest_via_full
    end_out.remove(i)
ValueError: list.remove(x): x not in list

This is happens with the recent Version of ProtGraph 0.1.0. It seems like a case is not considered here.