jmschrei / tfmodisco-lite

A lite implementation of tfmodisco, a motif discovery algorithm for genomics experiments.
MIT License
56 stars 16 forks source link

tabs vs spaces #9

Closed hopdebee closed 1 year ago

hopdebee commented 1 year ago

Hi Jacob,

Minor annoyance: I noticed that the codebase is built out of files where you use tabs and not spaces. Guido said that spaces are the way to go, so probably a lot of people will get indentation errors if they tweak something to the code. I successfully changed all the leading (-i in the command) tabs in the modiscolite folder to 4 spaces with this oneliner: (via) find . -name '*.py' ! -type d -exec bash -c 'expand -i -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;

jmschrei commented 1 year ago

Thanks for pointing this out. I use tabs because spaces don't make sense to me. Feel free to convert to spaces if you'd like to change things locally. I think that most editors have built-in converters between the two.