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

Infinite recursion in clean.py ? #123

Closed
aWormGuy opened this issue Dec 14, 2017 · 1 comment
Closed

Infinite recursion in clean.py ? #123

aWormGuy opened this issue Dec 14, 2017 · 1 comment
Labels

Comments

@aWormGuy
Copy link

Hi,
I installed circlator version 1.5.2 via bioconda, tried running the entire circlator pipeline using:

circlator all $POLISHED_ASSEMBLY $PRE_ASSEMBLED_READS $OUTPUT_DIR;

I am getting the following error:

Traceback (most recent call last):
File "/myhomefolder/anaconda3/lib/python3.6/site-packages/circlator/clean.py", line 145, in _get_all_containing
new_names = self._get_all_containing(containing_contigs, containing_contig, exclude=name)
File "/myhomefolder/anaconda3/lib/python3.6/site-packages/circlator/clean.py", line 145, in _get_all_containing
new_names = self._get_all_containing(containing_contigs, containing_contig, exclude=name)
File "/myhomefolder/anaconda3/lib/python3.6/site-packages/circlator/clean.py", line 145, in _get_all_containing
new_names = self._get_all_containing(containing_contigs, containing_contig, exclude=name) [Previous line repeated 995 more times]
File "/myhomefolder/anaconda3/lib/python3.6/site-packages/circlator/clean.py", line 138, in _get_all_containing
contains_name = set()
RecursionError: maximum recursion depth exceeded while calling a Python object

I get the same error even after I tried increasing the recursion depth using the following :

import sys
sys.setrecursionlimit(10000)

Any tips on how to avoid this?

Thanks,
-Amit.

@ghost ghost added the bug label Jan 31, 2018
@andrewjpage
Copy link
Member

I've updated the code to fix this bug. Please update to version 1.5.5. Thanks for reporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants