Hello all,
as my title states, I would like to know if there is a way or pragmatic workaround to use HippoUnit with HocObjects.
To clarify what I mean:
In HippoUnit the cells get instantiated in the scope with the hocinterpreter like
h("objref cell")
h("cell = new templatename()")
I would like to instantiate my cells for hippounit from a python hocobject cell, i.e. use a hocobject as hippounit input.
My python cell, which is a hocobject, looks like this:
cell = h.templatename()
In my case, I update this hocobject cell with new parameter values (like ion channel conductances) and as an instantiated hocobject it doesn't change/overwrite the hoc file with which the cell got created.
I would like to use this then updated hocobject cell as input for HippoUnit, so I could run the tests over the updated cell with updated parameter values and an unchanged hoc file.
I see a relatively rough workaround for it atm:
If I would create a new hoc file each time for it, I could just let HippoUnit run each time for a new hoc file. This works to some extend but as the number of cells increases it becomes worse and I don't see a way to automate this process of creating new hoc files.
Any ideas?
Thanks in advance
Hello all,
as my title states, I would like to know if there is a way or pragmatic workaround to use HippoUnit with HocObjects.
To clarify what I mean:
In HippoUnit the cells get instantiated in the scope with the hocinterpreter like
I would like to instantiate my cells for hippounit from a python hocobject cell, i.e. use a hocobject as hippounit input.
My python cell, which is a hocobject, looks like this:
cell = h.templatename()In my case, I update this hocobject cell with new parameter values (like ion channel conductances) and as an instantiated hocobject it doesn't change/overwrite the hoc file with which the cell got created.
I would like to use this then updated hocobject cell as input for HippoUnit, so I could run the tests over the updated cell with updated parameter values and an unchanged hoc file.
I see a relatively rough workaround for it atm:
If I would create a new hoc file each time for it, I could just let HippoUnit run each time for a new hoc file. This works to some extend but as the number of cells increases it becomes worse and I don't see a way to automate this process of creating new hoc files.
Any ideas?
Thanks in advance