Skip to content

Display transcription file counts during processing#2

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/list-number-of-transcription-files
Draft

Display transcription file counts during processing#2
Copilot wants to merge 3 commits intomainfrom
copilot/list-number-of-transcription-files

Conversation

Copy link

Copilot AI commented Dec 20, 2025

Scripts that process transcription files now print the number of files found before processing begins.

Changes

Added print(f"Found {len(files)} transcription files") to 7 scripts:

  • TCN/preprocess.py - Before iterating through label transcriptions
  • Translation Scripts/Context to Motion Primitives/ - Both context_to_motion_primitives.py and context_to_gestures.py
  • Translation Scripts/Motion Primitives to Gestures/ - All 4 task-specific scripts (knot_tying, needle_passing, peg_transfer, suturing)

Example Output

Found 39 transcription files
	 Preprocessing: /path/to/Suturing/gestures/Suturing_S01_T01.txt
	 Preprocessing: /path/to/Suturing/gestures/Suturing_S01_T02.txt
	 ...

Also updated .gitignore to exclude Python cache files.

Original prompt

On transcriptions, list the number of files


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Dec 20, 2025
Copilot AI and others added 2 commits December 20, 2025 13:07
Co-authored-by: keshara2032 <40396880+keshara2032@users.noreply.github.com>
Co-authored-by: keshara2032 <40396880+keshara2032@users.noreply.github.com>
Copilot AI changed the title [WIP] Add feature to list number of transcription files Display transcription file counts during processing Dec 20, 2025
Copilot AI requested a review from keshara2032 December 20, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants