Closed msyriac closed 7 years ago
Yes it could be annoying (slightly mitigated by making it a "warning" that people can suppress). But it's better than making the entire module useless to someone without libsharp!
And I agree that having curvedsky import in relevant functions is a better solution.
Libsharp is not necessarily easy to install for everyone (and its installation is not documented here). This shouldn't prevent people from using the excellent flat-sky lensing tools in
lensing.py
. This PR will show a warning iflensing.py
cannot importcurvedsky.py
.