Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'rdesigneur' has no attribute 'rdesigneur' #273

Open
ishanseth18 opened this issue Jun 1, 2021 · 8 comments
Open

Comments

@ishanseth18
Copy link

Hello,

Another student is getting this error in her code. We do not know why. The same code is running perfectly fine on my computer. Do you have any suggestions? This error is coming up for all rdesigneur examples.

@hrani
Copy link
Contributor

hrani commented Jun 2, 2021 via email

@lungsi
Copy link

lungsi commented Sep 8, 2021

I am also getting the same error while attempting to run the example, ex3.1_squid_vclamp.py.

Name: pymoose
Version: 3.1.5
Summary: Python scripting interface of MOOSE Simulator (https://moose.ncbs.res.in)
Home-page: http://moose.ncbs.res.in
Author: MOOSERes
Author-email: [email protected]
License: UNKNOWN
Requires: numpy

PS: Installation method used pip install pymoose.

@hrani
Copy link
Contributor

hrani commented Sep 8, 2021 via email

@lungsi
Copy link

lungsi commented Sep 9, 2021

Following import rdesigneur as rd doing this

rdes = rd.rdesigneur(
    chanProto = [['make_HH_Na()', 'Na'], ['make_HH_K()', 'K']],
    chanDistrib = [
        ['Na', 'soma', 'Gbar', '1200' ],
        ['K', 'soma', 'Gbar', '360' ]],
    stimList = [['soma', '1', '.', 'vclamp', '-0.065 + (t>0.1 && t<0.2) * 0.02' ]],
    plotList = [
        ['soma', '1', '.', 'Vm', 'Membrane potential'],
        ['soma', '1', 'vclamp', 'current', 'Soma holding current']
    ]
)

returns

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-3-b01d0fc1038d> in <module>
----> 1 rdes = rd.rdesigneur(
      2     chanProto = [['make_HH_Na()', 'Na'], ['make_HH_K()', 'K']],
      3     chanDistrib = [
      4         ['Na', 'soma', 'Gbar', '1200' ],
      5         ['K', 'soma', 'Gbar', '360' ]],

AttributeError: module 'rdesigneur' has no attribute 'rdesigneur'

@hrani
Copy link
Contributor

hrani commented Sep 13, 2021 via email

@hrani
Copy link
Contributor

hrani commented Sep 14, 2021 via email

@lungsi
Copy link

lungsi commented Sep 17, 2021

Thanks @hrani this worked (have not checked with other examples).

@hrani
Copy link
Contributor

hrani commented Sep 17, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants