Skip to content

fix: restore missing style_asset_paths and contact_sheet_registry modules - #2

Open
blognumber wants to merge 2 commits into
yang0:masterfrom
blognumber:master
Open

blognumber wants to merge 2 commits into
yang0:masterfrom
blognumber:master

Conversation

@blognumber

Copy link
Copy Markdown

The published repo references two modules that were never committed:

  • scripts/style_asset_paths.py (bucket_name / single_path / grid_path)
  • scripts/contact_sheet_registry.py (CAPACITY / STATE_FILE / parse_sheet / sheet_path)

handdraw-style-prompter/scripts/resolve_reference.py and split_contact_sheets.py fail with ModuleNotFoundError without the first module, and validate_library.py fails without both. Both implementations are reconstructed from the path layout (images/individual/{bucket}/{number}.png, 200-number buckets) and the contracts enforced by validate_library.py (e.g. bucket_name(401) == "401-600", CAPACITY == 16, G-sheet naming G_201-216.png). Verified locally: resolve_reference.py returns correct reference paths and validate_library.py passes fully.

This module provides helpers for generating paths to numbered style assets, including single images and optional grid images, organized in 200-number buckets.
This module implements a contact-sheet registry for the 201 hand-drawn style gallery, including functions to parse sheet filenames and generate canonical paths.
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