Closed ahriley closed 4 years ago
Hi Alex, thanks for pointing this out and sorry for the delayed reply. What you're saying makes perfect sense (the error and the solution), but somehow I'm not able to replicate it myself. I'm just not getting this error.
I think it may have to do with the version you have, which I think is not the latest one. Would you try updating galstreams and trying again? Please let me know how that goes. Thanks!
When loading the list of streams, I get an
AttributeError: module 'scipy' has no attribute 'interpolate'
. I believe this is because scipy'sCubicSpline
is called throughscipy.interpolate.CubicSpline
after justimport scipy
, which doesn't work (see this StackOverflow). Importingscipy.interpolate
beforehand fixes this.Breaks:
Works:
Possibly useful version info:
galstreams
: https://github.com/cmateu/galstreams/commit/120534e0726930d1fe7c22d052662b8241d3d9dbscipy
: 1.3.0numpy
: 1.16.4matplotlib
: 3.1.1galpy
: 1.4.1