Skip to content

Commit

Permalink
Converting paths to model files to string
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaray committed Jul 18, 2019
1 parent 7e734d8 commit c7de8c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions hippounit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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\")")
Expand Down Expand Up @@ -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=""):

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='[email protected], [email protected], [email protected], [email protected], [email protected]',
packages=['hippounit', 'hippounit.tests', 'hippounit.capabilities', 'hippounit.scores'],
Expand Down

0 comments on commit c7de8c2

Please sign in to comment.