jleinonen / pytmatrix

Python code for T-matrix scattering calculations
MIT License
101 stars 45 forks source link

check for None for python3 compatibility #4

Closed juhi24 closed 9 years ago

juhi24 commented 9 years ago

Tried using this code on python3. This is a fix for the error I found while trying to generate radar parameters using binned psd data.

jleinonen commented 9 years ago

This might be a stupid question, since I'm not a Python 3 expert. But when would "self is None" ever occur?

juhi24 commented 9 years ago

Good point. I have changed this in #5.