Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run dos2unix on *.py and tidyup some files. #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomgreen66
Copy link

Been helping a user run this code on our systems at Cardiff University and hit a few issues:

  1. The common issue of ^M newline characters causing problems if you run ./mtag.py rather than python ./mtag.py. Running dos2unix across all .py files 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.
  2. The .pyc is not required and added a .gitignore file to stop similar files being added.

Hopefully others will find this useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant