-
Notifications
You must be signed in to change notification settings - Fork 33
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
Conversion of Scripts to Python 3 #7
Conversation
Thanks a lot @HelgeCPH for your kind words, and thanks for the pull request! I think we should provide two versions of the scripts: one for Python 2, and one version with your updated Python 3 scripts. We could either introduce a separate folder, e.g. Which one would you prefer? I'm lending towards the fork. |
Thank you for your reply and sorry for my late reply.
Yes, I agree. Likely many people use the Python 2 scripts as they are.
Let's do whatever suits you best. If it is the fork then we just do it as you suggested. |
What's the status with this? I picked up Software Design X-Rays which also refers to this project. |
Hi @adamtornhill, @HelgeCPH and @Ryuno-Ki, in https://github.com/wonderbird/maat-scripts I have combined @HelgeCPH's changes with the latest commit of @adamtornhill's master branch and resolved the conflicts shown below. Next steps
Best, |
P.S.: In addition I have resolved a bug that surfaced with the python3 version of the merge_comp_freqs.py script. |
@wonderbird I have created the branch: https://github.com/adamtornhill/maat-scripts/tree/python3 We should also include a mention of the Python 3 support in the |
Thanks @adamtornhill . I have created PR #11 with the intention to replace this PR. |
Closing this PR since the work was completed in #11. |
Hej Adam,
After a long time I was again reading your book Your Code as a Crime Scene. Thank you for it. It is really well written and inspiring.
Since I wanted to run some of your scripts and since Python 2 is close to EOL, I just thought you might be interested in my changes for Python 3. While doing that I fixed two minor issues
4a552cc and 359a3b5.
Unfortunately, I do not know how to send a PR for a separate branch, as there are likely people who want to run the Python 2 scripts from the master branch. Please let me know if I should do anything different.
Best,
Helge