Skip to content

Commit

Permalink
Comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
soflc committed Sep 18, 2024
1 parent 1840a20 commit a902c10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pupil_labs/egocentric_video_mapper/optic_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,8 @@ def calculate_optic_flow(
output_dir,
optic_flow_method="farneback",
):
neon_video_path = Path(neon_timeseries_dir).rglob("*.mp4").__next__()
neon_video_path = next(Path(neon_timeseries_dir).rglob("*.mp4"))
optic_flow_method = optic_flow_method.lower()
# output_dir = Path(output_dir, "optic_flow")
Path(output_dir).mkdir(parents=True, exist_ok=True)

if optic_flow_method.lower() == "farneback":
Expand Down

0 comments on commit a902c10

Please sign in to comment.