irrad.irradiation_event_type to str no longer does the job in python 3.x
Issue #842
resolved
For me run_type = irrad.irradiation_event_type.code_meaning
does the job in python 3.6 and 3.8
Comments (6)
-
-
reporter refs
#842proposed method to obtain event type for python 3 [skip cli] minor change→ <<cset 01bba7ba4eff>>
-
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.
-
reporter contextID code meaning to display dx properties, related to refs
#842[skip cli] minor change→ <<cset e1fb21e30054>>
-
- changed status to resolved
-
- changed component to openSkin
- Log in to comment
Thanks for pushing 9e6b58d6e8e43ddc3 @wens
Can you see if there are any other examples of similar uses of
string
where we should be usingcode_meaning
please?Then please update![:slight_smile: 🙂](https://pf-emoji-service--cdn.us-east-1.prod.public.atl-paas.net/standard/a51a7674-8d5d-4495-a2d2-a67c090f5c3b/48x48/1f642.png)
docs/changes.rst
and create a PR