Skip to content

Commit

Permalink
[tag] fix double creation of scaling variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrewe committed Jul 20, 2021
1 parent 089d499 commit 58f38ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nixio/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def _calc_data_slices(self, data, position, extent, stop_rule):
units = self.units

for idx, dim in enumerate(data.dimensions):
scaling = 1.0
if idx < len(position):
start_pos = position[idx]
start_pos, scaling = self._scale_position(start_pos, units[idx], dim)
Expand Down

0 comments on commit 58f38ea

Please sign in to comment.