We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6df4879 + 5eb5025 commit 88fff80Copy full SHA for 88fff80
ibllib/pipes/video_tasks.py
@@ -352,9 +352,14 @@ def _video_intact(file_mp4):
352
return intact
353
354
def _run(self, cams=None, overwrite=False):
355
- # Default to all three cams
356
- cams = cams or self.cameras
357
- cams = assert_valid_label(cams)
+ # Check that the cams are valid for DLC, remove the ones that aren't
+ candidate_cams = cams or self.cameras
+ cams = []
358
+ for cam in candidate_cams:
359
+ try:
360
+ cams.append(assert_valid_label(cam))
361
+ except ValueError:
362
+ _logger.warning(f'{cam} is not a valid video label, this video will be skipped')
363
# Set up
364
self.session_id = self.one.path2eid(self.session_path)
365
actual_outputs = []
0 commit comments