Code Monkey home page Code Monkey logo

Comments (11)

AlexSonneborn avatar AlexSonneborn commented on August 30, 2024 2

By the way, this is a super awesome tool. Thanks for making it.

from xolotl.

rolsonjames94 avatar rolsonjames94 commented on August 30, 2024 2

Thank you so much that worked. You are insanely fast and this program is amazing, looking forward to using it more!!

from xolotl.

sg-s avatar sg-s commented on August 30, 2024

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

from xolotl.

AlexSonneborn avatar AlexSonneborn commented on August 30, 2024

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

from xolotl.

sg-s avatar sg-s commented on August 30, 2024

aah, my bad. let me take a look and make a patch.

from xolotl.

rolsonjames94 avatar rolsonjames94 commented on August 30, 2024

I have also been having this problem, thank you :)

from xolotl.

sg-s avatar sg-s commented on August 30, 2024

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

from xolotl.

AlexSonneborn avatar AlexSonneborn commented on August 30, 2024

Thanks! I think I can just do this for the soplata GABAergic one as well? It is line 42 in that script.

from xolotl.

sg-s avatar sg-s commented on August 30, 2024

oof, you are absolutely right, yes, you can. I'll fix those in other synapses where I can find them and push this patch

from xolotl.

AlexSonneborn avatar AlexSonneborn commented on August 30, 2024

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?

from xolotl.

sg-s avatar sg-s commented on August 30, 2024

Yes, please see:

https://xolotl.readthedocs.io/en/master/how-to/inject-current/#inject-a-time-varying-current-into-a-compartment

from xolotl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.