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

pyfasta.fasta.FastaNotFound: "True" #13

Open
abrozzi opened this issue Dec 16, 2022 · 0 comments
Open

pyfasta.fasta.FastaNotFound: "True" #13

abrozzi opened this issue Dec 16, 2022 · 0 comments

Comments

@abrozzi
Copy link

abrozzi commented Dec 16, 2022

Hi all,

when running:

bigsi bulk_search -c config_10K_00.yaml -f csv -t 0.0 --score True foo.fas

with the files of the paper
https://www.microbiologyresearch.org/content/journal/mgen/10.1099/mgen.0.000499

I get this error:

Traceback (most recent call last):
  File "/usr/local/bin/bigsi", line 11, in <module>
    load_entry_point('bigsi==0.3.5', 'console_scripts', 'bigsi')()
  File "/usr/local/lib/python3.7/dist-packages/bigsi-0.3.5-py3.7.egg/bigsi/__main__.py", line 307, in main
  File "/usr/local/lib/python3.7/dist-packages/hug/api.py", line 399, in __call__
    result = self.commands.get(command)()
  File "/usr/local/lib/python3.7/dist-packages/hug/interface.py", line 546, in __call__
    raise exception
  File "/usr/local/lib/python3.7/dist-packages/hug/interface.py", line 542, in __call__
    result = self.output(self.interface(**pass_to_function), context)
  File "/usr/local/lib/python3.7/dist-packages/hug/interface.py", line 100, in __call__
    return __hug_internal_self._function(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/bigsi-0.3.5-py3.7.egg/bigsi/__main__.py", line 259, in bulk_search
  File "/usr/local/lib/python3.7/dist-packages/pyfasta/fasta.py", line 67, in __init__
    raise FastaNotFound('"' + fasta_name + '"')
pyfasta.fasta.FastaNotFound: "True"

Looking in the code --score should accept True or False.

Without --score it works properly.

Where I am wrong?

Thank you in advance,
Alex

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

1 participant