From df5069979934ad8779d24210a6a14c2c7808d175 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Fri, 21 Nov 2014 14:21:07 +0100 Subject: [PATCH] Use more general filename list type --- python/_cosmotool.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/_cosmotool.pyx b/python/_cosmotool.pyx index 4da8716..0f71252 100644 --- a/python/_cosmotool.pyx +++ b/python/_cosmotool.pyx @@ -301,7 +301,7 @@ It loads a gadget-1 snapshot and return a PySimulationBase object. If cpu_id is return _PySimulationAdaptor(wrap_simudata(data, flags)) -def loadParallelGadget(list filename_list, bool loadPosition = True, bool loadVelocity = False, bool loadId = False, bool loadType = False, bool loadMass=False): +def loadParallelGadget(object filename_list, bool loadPosition = True, bool loadVelocity = False, bool loadId = False, bool loadType = False, bool loadMass=False): cdef int flags, i, num_files cdef list out_arrays cdef SimuData ** data