faylward / viralrecall

Detection of NCLDV signatures in 'omic data
33 stars 12 forks source link

/usr/bin/env: ‘python\r’: No such file or directory #7

Closed KrisKieft closed 3 years ago

KrisKieft commented 3 years ago

Hi,

I want to point out a simple issue that I resolved. I am on a Linux machine running Ubuntu and the python script is interpreting "\n" characters as "\r" and causing issues. I resolved the issue by replacing the characters with sed.

sed -i 's/\r/\n/' viralrecall.py

faylward commented 3 years ago

Thanks for pointing that out. I haven't seen that before, and I generally use it on either Ubuntu or centOS.