GEMScienceTools / gmpe-smtk

Python and OpenQuake-based Toolkit for Analysis of Strong Motions and Interpretation of GMPEs
GNU Affero General Public License v3.0
43 stars 33 forks source link

konno_ohmachi error #101

Open mmpagani opened 5 years ago

mmpagani commented 5 years ago

In gmpe-smtk/smtk/smoothing/konno_ohmachi.py getting this error NameError: name 'xrange' is not defined

g-weatherill commented 5 years ago

A Python 2 leftover not caught in the tests. Change it (and any others) from xrange to range if you need to run it now and I will make a PR next week.

mmpagani commented 5 years ago

Ciao Graeme, thanks for the quick answer. I will fix them and will make a PR latter today.

A Python 2 leftover not caught in the tests. Change it (and any others) from xrange to range if you need to run it now and I will make a PR next week.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/GEMScienceTools/gmpe-smtk/issues/101#issuecomment-466434788