fix: restore missing style_asset_paths and contact_sheet_registry modules - #2
Open
blognumber wants to merge 2 commits into
Open
blognumber wants to merge 2 commits into
blognumber wants to merge 2 commits into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.pyandsplit_contact_sheets.pyfail withModuleNotFoundErrorwithout the first module, andvalidate_library.pyfails without both. Both implementations are reconstructed from the path layout (images/individual/{bucket}/{number}.png, 200-number buckets) and the contracts enforced byvalidate_library.py(e.g.bucket_name(401) == "401-600",CAPACITY == 16, G-sheet namingG_201-216.png). Verified locally:resolve_reference.pyreturns correct reference paths andvalidate_library.pypasses fully.