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

Question: UnicodeDecodeError #199

Open
dcbmariano opened this issue Dec 11, 2023 · 1 comment
Open

Question: UnicodeDecodeError #199

dcbmariano opened this issue Dec 11, 2023 · 1 comment

Comments

@dcbmariano
Copy link

Hey,

I'm trying to install on an m1 mac but I'm getting a lot of errors. Initially, I followed the tutorial, but there was an error in the JAX library. I solved it by updating the library using Anaconda.

Now I'm having this coding error that I can't find the source. Has anyone ever experienced this?

diego@hipogrifo colabfold-conda % bin/colabfold_batch teste output
2023-12-10 22:19:58,632 Running colabfold 1.5.3 (ca6b297021bb876157b75d84d591ed350cbece85)
Traceback (most recent call last):
File "/Volumes/Hermes/alphafold/localcolabfold/colabfold-conda/bin/colabfold_batch", line 8, in
sys.exit(main())
File "/Volumes/Hermes/alphafold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/colabfold/batch.py", line 1998, in main
queries, is_complex = get_queries(args.input, args.sort_queries_by)
File "/Volumes/Hermes/alphafold/localcolabfold/colabfold-conda/lib/python3.10/site-packages/colabfold/batch.py", line 623, in get_queries
(seqs, header) = parse_fasta(file.read_text())
File "/Volumes/Hermes/alphafold/localcolabfold/colabfold-conda/lib/python3.10/pathlib.py", line 1135, in read_text
return f.read()
File "/Volumes/Hermes/alphafold/localcolabfold/colabfold-conda/lib/python3.10/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 37: invalid start byte

@dcbmariano dcbmariano changed the title Question: Question: UnicodeDecodeError Dec 11, 2023
@dcbmariano
Copy link
Author

For some reason, it does not work when a pass a directory as input, but works when I pass a fasta file directly.

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