tsudalab / ChemTS

Molecule Design using Monte Carlo Tree Search with Neural Rollout
153 stars 52 forks source link

Print Statements Don't work in Python 3.6 #2

Closed LRParser closed 6 years ago

LRParser commented 6 years ago

FYI there are a few prints statements that didn't get commented out, and cause things to break in Python 3.6. I've attached a small patch file (you can 'git apply patch.txt') in case you want to make things 3.6 compatible. patch.txt

LRParser commented 6 years ago

Also fixed a small issue where CSV reader had filed opened in binary mode (needed to be text) here:

f = open('../data/250k_rndm_zinc_drugs_clean.smi', 'r')
yangxiufengsia commented 6 years ago

@LRParser thanks for helping solve this issue. I have fixed this by using your patch.txt.