Skip to content

Commit

Permalink
fix missing bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
pmhalvor authored Nov 7, 2024
1 parent 6e84891 commit 3419b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stages/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def _build_time_frames(self, df: pd.DataFrame):
df["startTime"] = df["startTime"].astype(str).apply(lambda x: x.split(".")[0])
df["endTime"] = df["endTime"].astype(str).apply(lambda x: x.split(".")[0])

df["startTime"] = pd.to_datetime(" ".join([df["startDate"].astype(str), df["startTime"]))
df["startTime"] = pd.to_datetime(" ".join([df["startDate"].astype(str), df["startTime"]]))
df["endTime"] = pd.to_datetime(" ".join([df["startDate"].astype(str), df["endTime"]]))

df["start_time"] = df.startTime - timedelta(seconds=margin)
Expand Down

0 comments on commit 3419b3e

Please sign in to comment.