irrad.irradiation_event_type to str no longer does the job in python 3.x

Issue #842 resolved
wens created an issue

For me run_type = irrad.irradiation_event_type.code_meaning does the job in python 3.6 and 3.8

Comments (6)

  1. Ed McDonagh

    Thanks for pushing 9e6b58d6e8e43ddc3 @wens

    Can you see if there are any other examples of similar uses of string where we should be using code_meaning please?

    Then please update docs/changes.rst and create a PR 🙂

  2. wens reporter

    Hi Ed,

    Good that you mention it, I vaguely remember (it was about half a year ago) that I had changed it in other files as well when we updated our servers to python3.6. I will check whether the changes affected original openrem scripts.

  3. Log in to comment