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

ValueError: Empty results file; perhaps invalid query #11

Open
sunwanying21 opened this issue Mar 14, 2023 · 1 comment
Open

ValueError: Empty results file; perhaps invalid query #11

sunwanying21 opened this issue Mar 14, 2023 · 1 comment

Comments

@sunwanying21
Copy link

Hello,

I run this command and get these errors. Could you please help me to figure it out? Thanks a lot.

command:
synthaser search -qf a_sixpack_rename.fa -o a_cdd.out --evalue 0.01

errors:
`Traceback (most recent call last):
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/search.py", line 123, in search
with open(results_file) as rf:
TypeError: expected str, bytes or os.PathLike object, not NoneType

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/main.py", line 65, in synthaser
synthases = search.search(
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/search.py", line 134, in search
handle = _remote(
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/search.py", line 169, in _remote
response = ncbi.retrieve(cdsid, delay=delay, max_retries=max_retries)
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/ncbi.py", line 202, in retrieve
finished = check(cdsid)
File "/home/sunwanying/.local/lib/python3.8/site-packages/synthaser/ncbi.py", line 112, in check
raise ValueError("Empty results file; perhaps invalid query?")
ValueError: Empty results file; perhaps invalid query?`

@lisadriani
Copy link

I had the same issue! Did anything solve it?

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

No branches or pull requests

2 participants