9 Commits
Author SHA1 Message Date
qbug 0fa10949d3 Add README files in English and Chinese, and include example workflow
- Created README-ZH.md for Chinese documentation of QBug-Batch, detailing project vision, quick start guide, node functionalities, installation instructions, and use cases.
- Added README.md for English documentation with similar content to support a wider audience.
- Introduced example workflow (crossjoin-example.json) to demonstrate the usage of the new nodes in ComfyUI.
2025-04-13 10:50:43 +08:00
qbug fa0a49231b Remove debug print statement from CrossJoinSelector class to clean up output 2025-04-13 10:50:43 +08:00
qbug 417816bc5e Enhance ListFiles class to support customizable separators for file output
- Added a new input parameter 'separator' to allow users to specify the character used to join file names in the output.
- Updated the list_files method to utilize the specified separator instead of the default newline character.
2025-04-13 10:50:43 +08:00
qbug 75f7be2eaa Enhance CrossJoinSelector with input limits and improved state management
- Added limit parameters for each input to control the number of iterations.
- Refactored input parsing and state management to accommodate new limits.
- Improved output generation and index updating logic for better handling of nested iterations.
- Updated IS_CHANGED method to include limit parameters for forced recalculation.
2025-04-13 10:50:43 +08:00
qbug 72be3b7712 Refactor CrossJoinSelector to streamline input handling and output structure
- Changed the default separator from newline to comma for better compatibility.
- Updated input parameters to enforce string input for all optional inputs.
- Removed the next_input from the return values to simplify output handling.
- Cleaned up unnecessary comments and improved code readability.
2025-04-13 10:50:43 +08:00
qbug 7bd9f5ba99 Refactor CrossJoinSelector to support multiple inputs and state management
- Updated input parameters to allow for five optional string inputs and a reset boolean.
- Implemented state management using a global dictionary to track indices for each unique input combination.
- Added IS_CHANGED method to force recalculation of node outputs.
- Enhanced cross_join method to handle multiple inputs and return outputs accordingly, including a next_input for additional processing.
2025-04-13 10:50:43 +08:00
qbug 72a28f08d2 Enhance ListFiles class with sorting options and update NoPreviewSaveImage input parameter
- Added sorting options for file listing in ListFiles class, allowing users to sort by name, size, or modified time, with ascending or descending order.
- Updated input parameter in NoPreviewSaveImage class from "images" to "image" for consistency.
2025-04-13 10:50:43 +08:00
qbug a8a546c34e Add initial implementation of filesystem, image, and selector modules
- Created __init__.py files for filesystem, image, and selector modules to define public interfaces.
- Implemented ListFiles class for listing files in a directory with optional filtering by file types and recursion.
- Added NoPreviewSaveImage class for saving images with optional metadata.
- Introduced CrossJoinSelector class for combining two lists with a specified separator.
- Added .gitignore file to exclude common Python and development artifacts.
2025-04-13 10:50:43 +08:00
齐 990d85c3b0 Initial commit 2025-04-13 10:49:40 +08:00