Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
steinnymir committed Oct 10, 2023
1 parent c367637 commit 153373d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sed/core/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ def hextof_align_8s_sectors(
sector_delays = sector_delays or self._config["dataframe"].get("sector_delays", [0.0] * 8)
if len(sector_delays) != 8:
raise ValueError("sector_delays must be a list of 8 floats")
if all(sector_delays == 0):
if all(delay == 0.0 for delay in sector_delays):
print("All sector delays are 0, skipping alignment")
self._dataframe, metadata = hextof.align_8s_sectors(
df=self._dataframe,
Expand Down

0 comments on commit 153373d

Please sign in to comment.