Python 2.7 built-in function "file" does not exist in Python 3

Issue #796 resolved
David Platten created an issue

This function is used in the export routines, and in our case can be replaced with open(). See

Comments (4)

  1. David Platten reporter

    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 #795 and issue #796

    → <<cset d5d56f9cfc2d>>

  2. Ed McDonagh

    I think this is dealt with too @David Platten - I’m going to add to changes and close - reopen if required.

  3. Log in to comment