MCPcopy
hub / github.com/diffgram/diffgram / create_all_found_sequences

Method create_all_found_sequences

walrus/methods/video/video.py:715–734  ·  view source on GitHub ↗
(self, video_file_id)

Source from the content-addressed store, hash-verified

713 self.found_sequences[label_file_id].add(int(number))
714
715 def create_all_found_sequences(self, video_file_id):
716
717 if not self.found_sequences:
718 logger.info("No sequences found")
719 return
720
721 for label_file_id, number_set in self.found_sequences.items():
722
723 for number in number_set:
724
725 self.create_sequences_not_yet_existing(
726 video_file_id = video_file_id,
727 label_file_id = int(label_file_id),
728 number = int(number)
729 )
730
731 if self.check_update_log_errors() is False:
732 self.input.status = "failed"
733 self.input.status_text = "See Update Log"
734 return
735
736 def add_sequence_id_to_instances(self):
737 """

Callers 1

__prepare_sequencesMethod · 0.95

Tested by

no test coverage detected