Upgrade dependencies. Port to python3

This commit is contained in:
Guilhem Lavaux 2017-12-19 12:04:03 +01:00
parent 14f6062ccb
commit 9389a30379
2 changed files with 11 additions and 5 deletions

View file

@ -452,7 +452,7 @@ def loadParallelGadget(object filename_list, int gadgetFormat = 1, bool loadPosi
filenames.resize(num_files)
data = alloc_simudata(num_files)
for i,l in enumerate(filename_list):
filenames[i] = l
filenames[i] = l.encode('utf-8')
with nogil:
for i in prange(num_files):