Skip to content

Commit

Permalink
Format code with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 4, 2024
1 parent cca296a commit 6592008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyneon/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, file: Path):
if data["section id"].nunique() > 1:
raise ValueError(f"{file.name} contains multiple section IDs")
self.data.drop(columns=["section id"], inplace=True)

# Set the timestamp column as the index
if "timestamp [ns]" in self.data.columns:
self.data.set_index("timestamp [ns]", inplace=True)
Expand Down

0 comments on commit 6592008

Please sign in to comment.