Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Niko Sirmpilatze <niko.sirbiladze@gmail.com>
  • Loading branch information
sfmig and niksirbi authored Jul 22, 2024
1 parent 0736d62 commit be7a384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions movement/validators/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def csv_file_contains_valid_frame_numbers(self, attribute, value):
"""Ensure that the VIA tracks csv file contains valid frame numbers.
This involves:
- Checking that frame numbers are defined as a `file_attributes` or
- Checking that frame numbers are included in `file_attributes` or
encoded in the image file `filename`.
- Checking the frame number can be cast as an integer.
- Checking that there are as many unique frame numbers as unique image
Expand Down Expand Up @@ -385,7 +385,7 @@ def csv_file_contains_unique_track_IDs_per_filename(
):
"""Ensure the VIA tracks csv contains unique track IDs per filename.
It check bounding boxes IDs are only defined once per image file.
It checks that bounding boxes IDs are defined once per image file.
"""
df = pd.read_csv(value, sep=",", header=0)

Expand Down

0 comments on commit be7a384

Please sign in to comment.