Closed Tristan-Chow closed 5 years ago
The code works with python2.7 (sorry, this should mentioned in the README file). @dykang?
@roys174 would you please review #29 and merge?
Thanks. I am not sure but I think all our repo works just with python 2, doesn't it?
On Wed, May 1, 2019 at 4:28 PM Dongyeop Kang notifications@github.com wrote:
@roys174 https://github.com/roys174 would you please review #29 https://github.com/allenai/PeerRead/pull/29 and merge?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/allenai/PeerRead/issues/28#issuecomment-488490235, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNKL2TVBADBCTSJSGTMYZLPTIRTRANCNFSM4HI26LRA .
It is. But, I recently changed all printing functions compatible with python 3. Thus, NIPS_crawl.py is the only code which is not compatible with Python 2. Python 3 doesn't support some modules in the code.
Has this bug been fixed, or does the code depend still on PY2? (+- a hack to fix that specific function)? Tx
line 40 in NIPS_crawl.py str(data).split("\n") It returns me a list with only one element(the whole string), it seems the splitting code does not work.