mtag
mtag copied to clipboard
Run dos2unix on *.py and tidyup some files.
Been helping a user run this code on our systems at Cardiff University and hit a few issues:
- The common issue of
^Mnewline characters causing problems if you run./mtag.pyrather thanpython ./mtag.py. Runningdos2unixacross all.pyfiles fixed a couple of files. This could be fixed using git configuration options to convert newline characters on clone depending on system but opinion online seemed to be divided whether that is a bit cumbersome. - The
.pycis not required and added a.gitignorefile to stop similar files being added.
Hopefully others will find this useful.