AIM-Harvard / SlicerRadiomics

A Slicer extension to provide a GUI around pyradiomics
BSD 3-Clause "New" or "Revised" License
106 stars 48 forks source link

BUG: Fix failing test #57

Closed jamesobutler closed 5 years ago

jamesobutler commented 5 years ago

This should fix the failing test for Slicer 4.10.

Without this import certain use cases will fail in python 2.7:

>>> print('.', end='')
  File "<console>", line 1
    print('.', end='')
                  ^
SyntaxError: invalid syntax
>>> from __future__ import print_function
>>> print('.', end='')
.

You will see that the import was included in all necessary files in the Slicer repo with this commit https://github.com/Slicer/Slicer/commit/08c6cd78fd25166773a35269ecd2f2c4fc2ea850

JoostJM commented 5 years ago

@jamesobutler, thanks for the fix!