-
Notifications
You must be signed in to change notification settings - Fork 5
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
snapp_prep error: invalid byte sequence in UTF-8 #7
Comments
Hi Ewelina,
Can you please provide the full command with which you executed the script?
Cheers,
Michael
… On 21 Apr 2022, at 01:51, ewelina ***@***.***> wrote:
Hello,
I try to run snapp_prep.rb script to prepare my .xml file, and I've met an error:
Traceback (most recent call last):
3: from snapp_prep.rb:471:in <main>' 2: from snapp_prep.rb:471:in each'
1: from snapp_prep.rb:472:in block in <main>' snapp_prep.rb:472:in strip': invalid byte sequence in UTF-8 (ArgumentError)
Would you be so kind and help me? is there any solution to this error?
Best regards,
Ewelina
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
|
Sure, full command is I don't know if it matters but I have ruby version 2.5.1p57 installed thank you for the quick reply |
I assume there are non-standard characters or other formatting issues with the Phylip file. If you don’t find the issue, I could have a look at the file next week.
… On 21 Apr 2022, at 09:34, ewelinaklichowska ***@***.***> wrote:
Sure, full command is
ruby snapp_prep.rb -p zergrac.phy -t zergrac_species.txt -c zergrac_constraints.txt -l 2000000 -x zergrac_snapp.xml
I don't know if it matters but I have ruby version 2.5.1p57 installed
thank you for the quick reply
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I try to run snapp_prep.rb script to prepare my .xml file, and I've met an error:
Traceback (most recent call last):
snapp_prep.rb:472:in `strip': invalid byte sequence in UTF-8 (ArgumentError)
Would you be so kind and help me? is there any solution to this error?
Best regards,
Ewelina
The text was updated successfully, but these errors were encountered: