Skip to content

Commit

Permalink
Merge pull request #355 from ttngu207/datajoint_pipeline
Browse files Browse the repository at this point in the history
update(tracking): raise error if no SLEAP data found
  • Loading branch information
ttngu207 authored Apr 19, 2024
2 parents 91f4490 + a1a2f44 commit df1cc61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aeon/dj_pipeline/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ def make(self, key):
)

if not len(pose_data):
self.insert1(key)
return
raise ValueError(f"No SLEAP data found for {key['experiment_name']} - {device_name}")

# Find the config file for the SLEAP model
for data_dir in data_dirs:
Expand Down

0 comments on commit df1cc61

Please sign in to comment.