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
Error in parsing #3
Comments
Hi, I couldn't reproduce this issue but added a workaround that should fix any encoding errors. Please let me know if you still have this problem. Thank you! Best regards, |
I had the same issue. The solution that worked for me is to change all read/write to bytes instead of strings and then encoding/decoding. i.e. |
I'm having the same issue with 9c1b39c. I've also tried
|
Hi Tom, Thanks |
I have the same problem (download yesterday ) |
Hi @almiheenko , thanks for the reply. That doesn't fix it. Here's the error I get in a41ac9e:
Is it a mistake here? Line 221 in a41ac9e
|
* fix typo for `io.open` * write HTML output as UTF-8 because template read as UTF-8
This issue should be fixed by now, thanks to @kbseah. Please feel free to re-open if you still have any issues |
Hi,
|
Messy workaround for this problem - install AGB from conda, activate environment as described in manual but run not conda's version but an AGB instance just cloned from github. |
Manually removing "os.io." from that line worked for me. |
I get the following errors:
Parsing assembly_graph_with_scaffolds.gfa...
Finish parsing.
Extracting edge sequences from assembly_graph_with_scaffolds.gfa...
No information about contig mappings to the reference genome
No information about edge mappings to the reference genome
Building JSON files...
Traceback (most recent call last):
File "/global/homes/t/torben/opt/anaconda3/envs/AGB/bin/agb.py", line 153, in
main()
File "/global/homes/t/torben/opt/anaconda3/envs/AGB/bin/agb.py", line 145, in main
with open(TEMPLATE_PATH) as f: html = f.read()
File "/global/homes/t/torben/opt/anaconda3/envs/AGB/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 6389: ordinal not in range(128)
The command was
agb.py --graph assembly_graph_with_scaffolds.gfa -a spades
I installed everything exactly as in the instructions.
Any ideas?
The text was updated successfully, but these errors were encountered: