Closed AlexSonneborn closed 2 years ago
By the way, this is a super awesome tool. Thanks for making it.
hello, are you trying to make your own custom synapse?
if so, please also paste in the C++ code in your .hpp file.
if you're using a built-in synapse, please point to the problematic synapse
I am just trying to add in this pre-made inhibitory synapse:
x.connect('mPFCinter','mPFCPyr1','cymbalyuk/Inhibitory','gmax',40);
and I get this error
C:\Users\sonnebor\AppData\Local\Temp\1\mex_2263249688272427_58116\X_c76349b260203eda05b19936eaa74757.obj:X_c76349b260203eda05b19936eaa74757.cpp:(.rdata$_ZTV10Inhibitory[_ZTV10Inhibitory]+0x38): undefined reference to `Inhibitory::getCurrent(double)' collect2.exe: error: ld returned 1 exit status
aah, my bad. let me take a look and make a patch.
I have also been having this problem, thank you :)
hi @rolsonjames94 and @AlexSonneborn, I think it's fixed. this synapse had an errant redeclaration of the getCurrent
method, but it was never redefined.
I've pushed a patch that fixes it. (all I did was delete the line that declared getCurrent
in cymbalyuk/Inhibitory.hpp
.
If you installed via git, please do a git pull
and you should be good to go.
If you installed via the toolbox, the simplest thing for you to do is to replicate the fix -- go to that file and comment out the getCurrent
declaration.
Let me know if this solves your problem, and if so, please close the issue
Thank you so much that worked. You are insanely fast and this program is amazing, looking forward to using it more!!
Thanks! I think I can just do this for the soplata GABAergic one as well? It is line 42 in that script.
oof, you are absolutely right, yes, you can. I'll fix those in other synapses where I can find them and push this patch
I actually also had another question. It is not immediately obvious if there is a way to inject current only for part of a simulation. Is there a way to do this?
Please go through the following steps before you file an issue that documents a problem or a potential bug and please check each item as you do so:
xolotl.cleanup
and my error persistscpplab.rebuildCache
and my error persistsInformation
Please provide the following information:
Operating System
Windows 10
Output of "version" command in MATLAB
'9.11.0.1769968 (R2021b)'
Output of "mex.getCompilerConfigurations('C++')" in MATLAB
ans =
CompilerConfiguration with properties:
Bug reports
Please replace this section with:
What you were trying to do (include code to reproduce error)
I am trying to make an inhibitory synapse
What you expected to happen
I expected whenever the inhibitory cell fired to have a brief hyperpolarization in my mPFC pyramidal cell (below).
What actually happened
I pasted the error and my code below. The 5th to last line is the one that is causing the issue. If I just comment this line out, everything works fine.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%