-
Notifications
You must be signed in to change notification settings - Fork 35
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
Python3 incompatibility #19
Comments
Hi, haven't yet had the time to investigate this properly, but will give it a shot for sure. Marco |
Ok, I've made it a little bit further. It seems that the main problem is that by default in python3, normal division of integers (using /) gives a float instead of an integer. This messes with the quadtree building. I'm changing the operator from / to // now. (This is also compatible with python 2.7) |
Awesome! |
However, the script still won't run because it seems the len function doesn't work with a zip object in python3! This causes the csv_to_dic method to fail. Will have to work my way around that! |
Ah, I see; let me know if I can be of any help on this |
Ok, fixed that by recasting some zip and dict_values objects into lists. Now checking if everything works... |
As far as I can tell, everything seems to be working in python3 now. |
Scoary currently doesn't work with python3. It seems to freeze and eat up memory when trying to populate the quadtree with pairwise hamming distances.
The text was updated successfully, but these errors were encountered: