asteca / ASteCA

Code for the ASteCA package.
http://asteca.github.io/
MIT License
18 stars 6 forks source link

Crash when no tidal and core radii found #241

Closed Gabriel-p closed 8 years ago

Gabriel-p commented 8 years ago

The module functions/structure/get_king_prof.py has a bug in line 233:

text2 = '{:.1f}' if coord == 'px' else '{:g}, {:g}'

where text2 is one input or two depending on the coordinates used. This should be:

text2 = '{:.1f}' if coord == 'px' else '{:g}'
Gabriel-p commented 8 years ago

Closed here: https://github.com/asteca/ASteCA/commit/62ffe4dad93fd5291900c08aa05af9e1c1cee5f2