ratt-ru / simms

Creates empty measurement sets using the the CASA simulate tool.
GNU General Public License v2.0
7 stars 8 forks source link

CASA not initialised properly #59

Closed SpheMakh closed 7 months ago

SpheMakh commented 1 year ago
  File "/home/adas/miniconda3/envs/rapid/lib/python3.9/site-packages/simms-1.2.1-py3.9.egg/simms/casasm.py", line 103, in makems
    obs_pos = obs_pos or me.observatory(tel)
NameError: name 'me' is not defined 
joshua-benabou commented 1 year ago

Hello,

I have encountered the same bug. It looks like me refers to the measuresclass of CASA, tried looking through previous commits to see where it might have been defined, but did not find anything...

I appreciate your help in getting this working!

SpheMakh commented 1 year ago

Hi @joshua-benabou, I will push a fix in a couple of days.

joshua-benabou commented 1 year ago

thanks @SpheMakh really looking forward to that!

joshua-benabou commented 1 year ago

hey @SpheMakh any luck on this?

bennahugo commented 7 months ago

This was usually due to a conflict issue with things living in .local. Package has migrated to CASA 6, so this should not be an issue if using a virtualenv. Please reopen if still an issue