diff --git a/hippounit/utils.py b/hippounit/utils.py index 70968a9..b6865d8 100644 --- a/hippounit/utils.py +++ b/hippounit/utils.py @@ -112,7 +112,7 @@ def compile_default_NMDA(self): def load_mod_files(self): - h.nrn_load_dll(self.modelpath + self.libpath) + h.nrn_load_dll(str(self.modelpath + self.libpath)) def initialise(self): @@ -124,7 +124,7 @@ def initialise(self): h.load_file("stdrun.hoc") - h.load_file(self.hocpath) + h.load_file(str(self.hocpath)) if self.soma is None and self.SomaSecList_name is None: raise Exception("Please give the name of the soma (eg. model.soma=\"soma[0]\"), or the name of the somatic section list (eg. model.SomaSecList_name=\"somatic\")") @@ -893,7 +893,7 @@ def compile_mod_files_BPO(self): def load_mod_files(self): - h.nrn_load_dll(self.modelpath + self.libpath) + h.nrn_load_dll(str(self.modelpath + self.libpath)) def setup_dirs(self, model_dir=""): diff --git a/setup.py b/setup.py index e334b1c..4272d21 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ def package_files(directory): setup( name='hippounit', - version='1.2.5', + version='1.2.6', author='Sara Saray, Szabolcs Kali, Christian Rossert, Andrew Davison, Shailesh Appukuttan', author_email='saray.sara@koki.mta.hu, kali@koki.hu, christian.rossert@epfl.ch, andrew.davison@unic.cnrs-gif.fr, shailesh.appukuttan@unic.cnrs-gif.fr', packages=['hippounit', 'hippounit.tests', 'hippounit.capabilities', 'hippounit.scores'],