cmateu / galstreams

Milky Way Streams Footprint Library and Toolkit for Python
BSD 3-Clause "New" or "Revised" License
46 stars 17 forks source link

Gala dependency? #21

Closed kadrlica closed 4 years ago

kadrlica commented 4 years ago

Is there a dependency on gala? I don't see this documented or in the setup.py, but maybe I missed it.

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-5a645d127b82> in <module>()
----> 1 import galstreams

/home/s1/kadrlica/lib/python2.7/site-packages/galstreams-1.0.0-py2.7.egg/galstreams/__init__.pyc in <module>()
      8 import astropy.coordinates
      9 import astropy.units as u
---> 10 import gala.coordinates as gc
     11 
     12 #---------------------------------

ImportError: No module named gala.coordinates
cmateu commented 4 years ago

you're right! It didn't use to be, but is now since we added the stream reference frames last year. astropy was missing from the setup.py. Both issues have been fixed.