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

Unable to call 'Npoint' temperature profile #14

Open
LucaNap opened this issue Apr 11, 2021 · 1 comment
Open

Unable to call 'Npoint' temperature profile #14

LucaNap opened this issue Apr 11, 2021 · 1 comment

Comments

@LucaNap
Copy link

LucaNap commented Apr 11, 2021

Hello. I am unable to call the Npoint profile because:

ImportError: cannot import name 'NPoint' from 'taurex.temperature' (D:\Anaconda3\lib\site-packages\taurex\temperature.py)

While for example the Guillot profile is easily callable with

guillot = Guillot2010(T_irr=p_temperature)

@ahmed-f-alrefaie
Copy link
Contributor

Ah yes you're right. I forgot to alias the Npoint profile in taurex.temperature.

You can get around this by importing Npoint using the full path:

from taurex.data.profiles.temperature import Npoint

I'll issue a fix in the next patch

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

2 participants