VCF-kit icon indicating copy to clipboard operation
VCF-kit copied to clipboard

TypeError Python 3

Open sofsta opened this issue 4 years ago • 2 comments

Hello,

I am having an environment.yml file and I am installing vcfkit through conda. The file looks as follows:

name:myenv channels:

  • bioconda depedencies: -vcfkit

I get the following error when I am using vcfkit:

Command error: Traceback (most recent call last): File "/opt/conda/envs/myenv/lib/python3.6/site-packages/vcfkit/vcf2tsv.py", line 89, in line = line.replace("u'","") # No idea why u' is prefixed... TypeError: a bytes-like object is required, not 'str'

Has anyone come across the same error?

sofsta avatar Sep 18 '20 08:09 sofsta

@sofsta I have just submitted a new version that I believe will resolve this. Please try the latest version (0.2.9)

danielecook avatar Dec 20 '20 21:12 danielecook

@danielecook Thank you! Are you planning to update the conda environment as well?

sofsta avatar Dec 21 '20 20:12 sofsta