Hi Ole,

Thanks a lot for your reply, and sorry for reporting a false bug.

I was confused about the way of loading packages in Pyraf. Now, I
understand it better (although I had tried it previously), and I have
found how to do it in a Python session (instead of using the login.cl
file). I will describe it, just in case any other user reads this
thread.

For example, for importing the task splot from the package noao.onedspec, the 
commands would be the following:
from pyraf.iraf import noao
from pyraf.iraf import onedspec
from pyraf.iraf import splot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768907

Title:
  Error when trying to import an IRAF task in Python

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyraf/+bug/1768907/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to