Skip to content

(feat) interactive run script with fuzzy filename matching - #3

Open
fmadore wants to merge 1 commit into
masterfrom
feat/interactive-run-script
Open

(feat) interactive run script with fuzzy filename matching#3
fmadore wants to merge 1 commit into
masterfrom
feat/interactive-run-script

Conversation

@fmadore

@fmadore fmadore commented Mar 20, 2026

Copy link
Copy Markdown

Summary

  • run.py: Consolidated interactive script that walks through the full batch workflow — filename validation with fuzzy matching and rename suggestions, staged metadata preview (Rich table + CSV export), SAF batch generation, and zip output named <collection>_batches.zip.
  • auxiliary/auth_functions.py: Added error handling for missing config file, empty MongoDB URI, and VPN/connection failures with clear user-facing messages.

Test plan

  • Run python run.py with valid credentials and verify the 3-step workflow
  • Run without VPN to verify the connection error message
  • Remove/empty auth_functions_config.json to verify config error messages
  • Test with mismatched filenames to verify fuzzy-match suggestions and renames

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.

1 participant