ValueError with informant.py #113
Closed
NFernandes86
started this conversation in
General
Replies: 4 comments 2 replies
-
Hello,
We have a PhyloFisher development team meeting tomorrow at noon. We will add your issue as a talking point. In the mean time, could you provide us with your input_metadata.tsv file so we can best trouble shoot your issue? Could you also let me know which version of PhyloFisher you are running currently.
Alex
Alexander K. Tice, Ph.D.
Assistant Professor
Department of Biological Sciences
Texas Tech University
Office: 313
Lab: 308 & 313A
Phone: (806) 834-6444
…________________________________
From: NFernandes86 ***@***.***>
Sent: Tuesday, January 16, 2024 5:22 AM
To: TheBrownLab/PhyloFisher ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [TheBrownLab/PhyloFisher] ValueError with informant.py (Discussion #113)
This email originated outside TTU. Please exercise caution<https://askit.ttu.edu/phishing>!
Hello,
When I run informant.py, it returns the following error:
db_taxa_dict = tools.parse_metadata(args.metadata)
File "~/miniconda3/envs/fisher/lib/python3.7/site-packages/phylofisher/tools.py", line 64, in parse_metadata
org, long_name, group, subtax, _, _ = line.split('\t')
ValueError: not enough values to unpack (expected 6, got 5)
I am stuck at this stage, following the "Detailed example workflow". Can someone help me with this?
I am using Ubuntu 22.4 LTS
—
Reply to this email directly, view it on GitHub<#113>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADA4OK43KIQ4HAWDCMG54QTYOZPHLAVCNFSM6AAAAABB4ULUKSVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGA4DCNRSGU>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @NFernandes86 , Can you send me your metadata.tsv as well. Thanks. Alex |
Beta Was this translation helpful? Give feedback.
1 reply
-
Interesting. Somehow the Source column for the ciliates in the dataset was blank and the information that should have been in it was moved into the Data Type column. Try replacing the file with this one and running informant.py |
Beta Was this translation helpful? Give feedback.
0 replies
-
Now it's working :) thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
When I run informant.py, it returns the following error:
db_taxa_dict = tools.parse_metadata(args.metadata)
File "~/miniconda3/envs/fisher/lib/python3.7/site-packages/phylofisher/tools.py", line 64, in parse_metadata
org, long_name, group, subtax, _, _ = line.split('\t')
ValueError: not enough values to unpack (expected 6, got 5)
I am stuck at this stage, following the "Detailed example workflow". Can someone help me with this?
I am using Ubuntu 22.4 LTS
Beta Was this translation helpful? Give feedback.
All reactions