Python 2.7 built-in function "file" does not exist in Python 3
Issue #796
resolved
This function is used in the export routines, and in our case can be replaced with open(). See https://portingguide.readthedocs.io/en/latest/builtins.html#removed-file.
Comments (4)
-
reporter -
reporter Updated changes files [skip ci]. References issue
#795and issue#796→ <<cset 3da359ca0104>>
-
I think this is dealt with too @David Platten - I’m going to add to changes and close - reopen if required.
-
- changed status to resolved
Already in changes, so resolving
- Log in to comment
Changed PHE radiographic projection export so that acquisition protocol is written to the file rather than procedure code, requested procedure and study description. Also fixed bug where downloading the export file failed because the built-in Python 2.x file() function does not exist in Python 3.x. References issue
#795and issue#796→ <<cset d5d56f9cfc2d>>