From 49dcb80ea372ff429f6cb6c68c641e658b7b29db Mon Sep 17 00:00:00 2001 From: RyanOnTheInside <7623207+ryanontheinside@users.noreply.github.com> Date: Sat, 25 Jan 2025 20:20:24 -0500 Subject: [PATCH] color picker class name conflict --- __init__.py | 5 +++-- nodes/images/image_utility_nodes.py | 2 +- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/__init__.py b/__init__.py index 6e9040e..2666230 100644 --- a/__init__.py +++ b/__init__.py @@ -207,7 +207,7 @@ from .nodes.utility_nodes import ( from .nodes.images.image_utility_nodes import ( DyeImage, - ColorPicker, + Color_Picker, ImageCASBatch, ImageScaleToTarget @@ -552,7 +552,7 @@ NODE_CLASS_MAPPINGS = { #garb "DyeImage": DyeImage, - "ColorPicker": ColorPicker, + "Color_Picker": Color_Picker, "ImageCASBatch": ImageCASBatch, "ImageScaleToTarget": ImageScaleToTarget, "MovingShape": MovingShape, @@ -612,6 +612,7 @@ NODE_DISPLAY_NAME_MAPPINGS = { "Image_Shuffle": "Image Shuffle ROTI", "Audio_Combine": "Audio Combine ROTI", "Audio_Concatenate": "Audio Concatenate ROTI", + "Color_Picker": "Color_Picker ROTI", "Doom_": "DOOM", } diff --git a/nodes/images/image_utility_nodes.py b/nodes/images/image_utility_nodes.py index 26463ff..4fdc5c0 100644 --- a/nodes/images/image_utility_nodes.py +++ b/nodes/images/image_utility_nodes.py @@ -147,7 +147,7 @@ class ImageScaleToTarget(ImageUtilityNode): import json -class ColorPicker: +class Color_Picker: """ A node that provides a color picker interface and outputs hex color, RGB color, and hue values. """ diff --git a/pyproject.toml b/pyproject.toml index 1885774..1ceaf42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_ryanonyheinside" description = "Custom nodes introducing everything-reactivity and timelines to ComfyUI" -version = "2.0.4" +version = "2.0.5" license = {file = "LICENSE"} dependencies = ["pygame","opencv-python==4.10.0","scipy","torchaudio", "pillow","librosa==0.10.2","pymunk==6.8.1","matplotlib","openunmix","mido","scikit-image"]