Skip to content

Commit 2bdfdd3

Browse files
committed
[tag] fix double creation of scaling variable
1 parent c6330e8 commit 2bdfdd3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

nixio/tag.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ def _calc_data_slices(self, data, position, extent, stop_rule):
122122
units = self.units
123123

124124
for idx, dim in enumerate(data.dimensions):
125-
scaling = 1.0
126125
if idx < len(position):
127126
start_pos = position[idx]
128127
start_pos, scaling = self._scale_position(start_pos, units[idx], dim)

0 commit comments

Comments
 (0)