gmpe-smtk icon indicating copy to clipboard operation
gmpe-smtk copied to clipboard

konno_ohmachi error

Open mmpagani opened this issue 6 years ago • 2 comments

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

mmpagani avatar Feb 22 '19 15:02 mmpagani

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.

g-weatherill avatar Feb 22 '19 15:02 g-weatherill

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

mmpagani avatar Feb 22 '19 15:02 mmpagani