LSSTDESC / WeakLensingDeblending

Weak lensing fast simulations and analysis of blended objects.
http://weaklensingdeblending.readthedocs.io/en/latest/index.html
Other
14 stars 13 forks source link

Updates to work with python3 #32

Closed dkirkby closed 6 years ago

dkirkby commented 6 years ago

Various updates to print, except, import, iteritems, decode for python3.

Tested with anaconda + python 3.6.

It would great if someone could check if this still works with python 2.7.

dkirkby commented 6 years ago

I have updated the tutorial notebook and checked that all the commands listed there still work in py3, but the other notebook still need updating (mostly just print statements).

fjaviersanchez commented 6 years ago

I checked simulate.py, fisher.py and display.py and they all work with Python2.7 as well.

dkirkby commented 6 years ago

Thanks! Any objections if I merge this now @sowmyakth @fjaviersanchez ?

fjaviersanchez commented 6 years ago

Looks good to me!

sowmyakth commented 6 years ago

Yup. Works fine

dkirkby commented 6 years ago

Thanks for checking. Merged now.