-
Notifications
You must be signed in to change notification settings - Fork 19
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
Comments
Hi all,
Could you please expand moose version and how it was installed.
…On Wed, Jun 2, 2021 at 3:31 AM ishanseth18 ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#273>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACYWDQ76WXMKQEEXO6KRHKTTQVKEXANCNFSM455PMYCA>
.
|
I am also getting the same error while attempting to run the example,
PS: Installation method used |
But could you let us know what is the error?
…On Wed, 8 Sep 2021 at 3:30 PM, lungsi ***@***.***> wrote:
I am also getting the same error while attempting to run the example,
ex3.1_squid_vclamp.py
<https://moose.readthedocs.io/en/latest/user/py/rdesigneur/rdes.html#hh-squid-model-with-voltage-clamp>
.
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: ***@***.***
License: UNKNOWN
Requires: numpy
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#273 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACYWDQ7CHE3LEY5SIH6BOGTUA4X3ZANCNFSM455PMYCA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Following
returns
|
I could reproduce the same error when moose installed via pip, with moose
version 3.1.5
Will get back on this soon
…On Thu, Sep 9, 2021 at 12:51 PM lungsi ***@***.***> wrote:
Doing this
rdes = rd(
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*
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-4-61750ae4115f> in <module>
----> 1 rdes = rd(
2 chanProto = [['make_HH_Na()', 'Na'], ['make_HH_K()', 'K']],
3 chanDistrib = [
4 ['Na', 'soma', 'Gbar', '1200' ],
5 ['K', 'soma', 'Gbar', '360' ]],
TypeError: 'module' object is not callable
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#273 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACYWDQ3FJE5EIZOE5OSZYHLUBBN7ZANCNFSM455PMYCA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
The rdesignuer tutorials are improved over the time, run these files
getting latest version of pymoose
upgrade pre-release version of pymoose using
pip install pymoose --pre --upgrade (which would be 3.2.1dev)
and run the examples
…On Mon, Sep 13, 2021 at 6:34 PM Harsha Rani ***@***.***> wrote:
I could reproduce the same error when moose installed via pip, with moose
version 3.1.5
Will get back on this soon
On Thu, Sep 9, 2021 at 12:51 PM lungsi ***@***.***> wrote:
> Doing this
>
> rdes = rd(
> 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*
>
> ---------------------------------------------------------------------------
> TypeError Traceback (most recent call last)
> <ipython-input-4-61750ae4115f> in <module>
> ----> 1 rdes = rd(
> 2 chanProto = [['make_HH_Na()', 'Na'], ['make_HH_K()', 'K']],
> 3 chanDistrib = [
> 4 ['Na', 'soma', 'Gbar', '1200' ],
> 5 ['K', 'soma', 'Gbar', '360' ]],
>
> TypeError: 'module' object is not callable
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#273 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACYWDQ3FJE5EIZOE5OSZYHLUBBN7ZANCNFSM455PMYCA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
|
Thanks @hrani this worked (have not checked with other examples). |
Sure, let us know if any issue comes up with other examples
Moose team
…On Fri, Sep 17, 2021 at 1:09 PM lungsi ***@***.***> wrote:
Thanks @hrani <https://github.com/hrani> this worked (have not checked
with other examples).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#273 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACYWDQ6NGPXGWL7FZDXNAWLUCLWCZANCNFSM455PMYCA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: