diff options
Diffstat (limited to 'Wrappers/Python')
-rwxr-xr-x | Wrappers/Python/ccpi/processors/Resizer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Wrappers/Python/ccpi/processors/Resizer.py b/Wrappers/Python/ccpi/processors/Resizer.py index 6ddd823..72ea392 100755 --- a/Wrappers/Python/ccpi/processors/Resizer.py +++ b/Wrappers/Python/ccpi/processors/Resizer.py @@ -72,14 +72,14 @@ class Resizer(DataProcessor): if (self.roi == -1):
roi_par = [-1] * ndim
else:
- roi_par = self.roi.copy()
+ roi_par = list(self.roi)
if (len(roi_par) != ndim):
raise Exception('Number of dimensions and number of elements in roi parameter do not match')
if (self.binning == 1):
binning = [1] * ndim
else:
- binning = self.binning.copy()
+ binning = list(self.binning)
if (len(binning) != ndim):
raise Exception('Number of dimensions and number of elements in binning parameter do not match')
|