-
Notifications
You must be signed in to change notification settings - Fork 23
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
AttributeError: 'NoneType' object has no attribute 'group' #96
Comments
I'm also encountering this same problem.
|
Hej! from the log:
And I would like to add one more quirk to the issue: I ran it erroneously first with one more gene in the BGC and didn't encounter this issue. Once I removed the gene and re-ran, this issue appeared. |
I'm also encountering this same problem.
|
Hello, me too :( Trace is at the bottom, I think the issues lies with the html parsing after you query NCBI for the RID:
Traceback:
|
I have the same error. The html returned by NCBI still says "searching" and therefore has no instances of <PRE>, causing the regex to fail. However, looking up the RID in the BLAST interface displays the error:
I assume that this means that our files are too large and cblaster isn't able to process the output when BLAST errors. Is there any workarounds to large .fasta/.gbk files that people know of? |
I have the same error and after doing some research, I think the issue might be multifaceted. Regardless, the core issue is that the My situation is that the blast search was indeed complete. I could view the results online using the session id. But when cblaster Yet I failed to fully understand if it is a blast api issue or the issue with request package. Probably the former, since when I type the url created by request.get command in a browser, the output is still incomplete. Maybe the ncbi limits the amount of output from api request? I am also not sure if this 5000 hits setting is selected on purpose. One workaround is to set the |
Hello, dear author, recently I was doing a regular cblaster search, but I encountered the following error during the running process.
", response.text, re.DOTALL)[16:18:05] INFO - Search has completed successfully!
[16:18:05] INFO - Retrieving results for search 6BPHW1VJ016
Traceback (most recent call last):
File "/home/yye/miniconda3/bin/cblaster", line 8, in
sys.exit(main())
File "/home/yye/miniconda3/lib/python3.9/site-packages/cblaster/main.py", line 432, in main
cblaster(
File "/home/yye/miniconda3/lib/python3.9/site-packages/cblaster/main.py", line 318, in cblaster
rid, results = remote.search(
File "/home/yye/miniconda3/lib/python3.9/site-packages/cblaster/remote.py", line 371, in search
results = retrieve(rid, hitlist_size=hitlist_size)
File "/home/yye/miniconda3/lib/python3.9/site-packages/cblaster/remote.py", line 208, in retrieve
for line in re.search("
AttributeError: 'NoneType' object has no attribute 'group'
Could you guide me on how to solve it? Thank you very much.
The text was updated successfully, but these errors were encountered: