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

TypeError: expected string or buffer #63

Open
Katterinne opened this issue Sep 1, 2017 · 3 comments
Open

TypeError: expected string or buffer #63

Katterinne opened this issue Sep 1, 2017 · 3 comments
Assignees

Comments

@Katterinne
Copy link

Dear Aaron Weimann,

Thank you for develop Traitar, I think this program would be very useful to better understand the biological meaning of our data.

I have a issue that I can not understand when I run traitar. I have succefully installed traitar using python2.7 virtualenv. But when I run traitar I get the following...

traitar phenotype genus_in genus_sample-file from_nucleotides genus_out

Traceback (most recent call last): File "/lustre/groups/cbi/ecastron/Katterinne/Psychrobacter_glacincola/Traitar/pyc1traitar/bin/traitar", line 492, in <module> args.func(args) File "/lustre/groups/cbi/ecastron/Katterinne/Psychrobacter_glacincola/Traitar/pyc1traitar/bin/traitar", line 32, in phenolyze p = Traitar(args.input_dir, args.output_dir, args.sample2file, args.cpus, args.rearrange_heatmap, args.heatmap_format, args.no_heatmap_phenotype_clustering, args.no_heatmap_sample_clustering, args.gene_gff_type, args.primary_models, args.secondary_models) File "/lustre/groups/cbi/ecastron/Katterinne/Psychrobacter_glacincola/Traitar/pyc1traitar/bin/traitar", line 71, in __init__ self.s2f = self.parse_sample_f() File "/lustre/groups/cbi/ecastron/Katterinne/Psychrobacter_glacincola/Traitar/pyc1traitar/bin/traitar", line 133, in parse_sample_f if not self._special_match(i): File "/lustre/groups/cbi/ecastron/Katterinne/Psychrobacter_glacincola/Traitar/pyc1traitar/bin/traitar", line 111, in _special_match return not bool(search(strg)) TypeError: expected string or buffer

I hope this can be fixed and be useful for other users.

Thank you very much!

@abremges
Copy link
Collaborator

abremges commented Sep 4, 2017

Thank you, @Katterinne – I believe Aaron will look into this once he's back.

@Katterinne
Copy link
Author

Thank you @abremges !
Meantime I'm testing traitor in Mac OS, it seems to work well.

@aweimann
Copy link
Owner

Dear @Katterinne,
Thanks for your interest in Traitar and for reporting this issue! It might be a problem with your sample table. Make sure you use tabs to separate your output. Please let me know if that works.
Just to be sure, do you mean you don't observe that problem with Mac OS?

Cheers, Aaron

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

3 participants