Commit fd2d1e0e authored by lucas_miranda's avatar lucas_miranda
Browse files

Added an exception if tables and videos are not the same length when...

Added an exception if tables and videos are not the same length when initialising the project in data.py
parent da510f2f
......@@ -99,6 +99,11 @@ class project:
if tab.endswith(self.table_format) and not tab.startswith(".")
]
)
assert len(self.videos) == len(
self.tables
), "Unequal number of videos and tables. Please check your file structure"
self.angles = True
self.animal_ids = animal_ids
self.arena = arena
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment