a2iEditing / RNAEditingIndexer

A tool for the calculation of RNA-editing index for RNA seq data
Other
36 stars 18 forks source link

utf encoding #10

Open AMChalkie opened 4 years ago

AMChalkie commented 4 years ago

Hi, I'm doing some modifications to the docker where the mm10 annotations are failing, and hit an error

File "/bin/AEI/RNAEditingIndexer/make/compileMouseEncodeGeneExpression.py", line 4 SyntaxError: Non-ASCII character '\xc2' in file /bin/AEI/RNAEditingIndexer/make/compileMouseEncodeGeneExpression.py on line 4, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Likely solution is a modification to python files to include the following:

!/usr/bin/env python

-- coding: utf-8 --

https://stackoverflow.com/questions/728891/correct-way-to-define-python-source-code-encoding

shalomhillelroth commented 4 years ago

Thanks for letting me know.

I prefer not to pre-determine the encoding (This way typos stand out better).

I however cannot quite locate the problem - can you kindly make sure you have the current version of this file? (it had a unicode (c) mark previously)

Many thanks for all of your contributions,

Shalom Hillel Roth