AIM-Harvard / SlicerRadiomics

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

BUG: Make usage of next python 2 and 3 compatible #58

Closed jamesobutler closed 5 years ago

jamesobutler commented 5 years ago

This fixes a failing test for Slicer 4.10.

next(obj) is python 2.6+ and python 3 compatible while the change to __next__() in https://github.com/Radiomics/SlicerRadiomics/commit/a1c806b98a834f0e33b176d048a754be352d1021 was only python 3 compatible.

jamesobutler commented 5 years ago

@JoostJM Can you review this PR too? Thanks!

jcfr commented 5 years ago

Thanks for the contribution :+1: