Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RecursionError: maximum recursion depth exceeded #77

Open
kevinkle opened this issue Jun 21, 2019 · 2 comments
Open

RecursionError: maximum recursion depth exceeded #77

kevinkle opened this issue Jun 21, 2019 · 2 comments
Assignees
Labels
bug Something isn't working lemongraph

Comments

@kevinkle
Copy link
Member

2019-06-21 14:11:37 panther prairiedog[32057] INFO Edge along >SRR3664820.fasta|NODE_2_length_725620_cov_53.3023_ID_3462 in SRR3664820.fasta has len 248877
  File "/home/kevin/prairiedog/venv/lib/python3.7/site-packages/LemonGraph-0.10.0-py3.7-linux-x86_64.egg/LemonGraph/__init__.py", line 919, in iterlinks
    if self.srcID != self.tgtID:
  File "/home/kevin/prairiedog/venv/lib/python3.7/site-packages/LemonGraph-0.10.0-py3.7-linux-x86_64.egg/LemonGraph/__init__.py", line 902, in srcID
    return self.src.ID
  File "/home/kevin/prairiedog/venv/lib/python3.7/site-packages/LemonGraph-0.10.0-py3.7-linux-x86_64.egg/LemonGraph/__init__.py", line 894, in src
    return self.txn.node(ID=self._data.src, beforeID=self.beforeID)
  File "/home/kevin/prairiedog/venv/lib/python3.7/site-packages/LemonGraph-0.10.0-py3.7-linux-x86_64.egg/LemonGraph/__init__.py", line 421, in node
    return self._node_edge_property(Node, **kwargs)
  File "/home/kevin/prairiedog/venv/lib/python3.7/site-packages/LemonGraph-0.10.0-py3.7-linux-x86_64.egg/LemonGraph/__init__.py", line 417, in _node_edge_property
    return constructor(self, **kwargs)
  File "/home/kevin/prairiedog/venv/lib/python3.7/site-packages/LemonGraph-0.10.0-py3.7-linux-x86_64.egg/LemonGraph/__init__.py", line 603, in ByID
    beforeID = txn.b4ID(beforeID)
  File "/home/kevin/prairiedog/venv/lib/python3.7/site-packages/LemonGraph-0.10.0-py3.7-linux-x86_64.egg/LemonGraph/__init__.py", line 219, in b4ID
    ret = next(x for x in args if x is not None)
RecursionError: maximum recursion depth exceeded
@kevinkle
Copy link
Member Author

Tried overriding the max recursive depth on long paths, but it still returns chain of len 0

@kevinkle
Copy link
Member Author

Bypassing nodes of length > recursiondepth works for now

@kevinkle kevinkle added the bug Something isn't working label Jun 21, 2019
@kevinkle kevinkle self-assigned this Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lemongraph
Projects
None yet
Development

No branches or pull requests

1 participant