Skip to content

Commit

Permalink
rm unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydenpersonnat committed Jun 14, 2024
1 parent ffad7aa commit fd491ef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions endaq/batch/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,10 @@ def _make_peak_windows(ch_data_cache: analyzer.CalcCache, margin_len):
)
)

# minor version of python 3.x
minor_version = sys.version_info.minor

# Format results
# Use new implementation of future_stack if Python version >= 3.9
levels = ["axis", "peak time", "peak offset"]
if sys.version_info< (3, 9):
if sys.version_info < (3, 9):
return aligned_peak_data.stack().stack().reorder_levels(levels)

Check warning on line 214 in endaq/batch/core.py

View check run for this annotation

Codecov / codecov/patch

endaq/batch/core.py#L214

Added line #L214 was not covered by tests

return aligned_peak_data.stack(future_stack=True).stack().reorder_levels(levels)
Expand Down

0 comments on commit fd491ef

Please sign in to comment.