AstarVienna / ScopeSim_Templates

GNU General Public License v3.0
2 stars 4 forks source link

Make docstring a rawstring to allow \propto #14

Closed hugobuddel closed 4 years ago

hugobuddel commented 4 years ago

Importing scopesim_templates gives this warning:

scopesim_templates/utils/imf.py:317: DeprecationWarning: invalid escape sequence \p

Which happens because there is a \propto in the docstrin of IMF_broken_powerlaw. This PR makes the docstring of IMF_broken_powerlaw a raw string, which allows \p.