MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / clear_video_files

Method clear_video_files

deeplabcut/gui/window.py:497–503  ·  view source on GitHub ↗

Clear all video files from the existing set. Emits a signal to notify the change.

(self)

Source from the content-addressed store, hash-verified

495 self.logger.info(f"Videos added to analyze:\n{new_video_files}\nCurrent video files:\n{self.files}")
496
497 def clear_video_files(self):
498 """
499 Clear all video files from the existing set. Emits a signal to notify the change.
500 """
501 self.files.clear() # Reset the set to be empty
502 self.video_files_.emit(self.files) # Emit the empty set
503 self.logger.info("All video files have been cleared.")
504
505 def window_set(self):
506 WINDOW_RESIZE_FACTOR = 0.8

Callers 1

clear_selected_videosMethod · 0.80

Calls 2

emitMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected