From 07bfda783dec7485fcfd24c2a4b8b50ed9dac899 Mon Sep 17 00:00:00 2001 From: Morgan Johansson Date: Sun, 22 Oct 2023 12:08:37 +0200 Subject: [PATCH] rename of types.py to dreamtypes.py --- __init__.py | 2 +- base.py | 2 +- colors.py | 2 +- curves.py | 2 +- types.py => dreamtypes.py | 0 image_processing.py | 2 +- laboratory.py | 2 +- loaders.py | 2 +- noise.py | 2 +- output.py | 2 +- prompting.py | 2 +- seq_processing.py | 2 +- switches.py | 2 +- utility.py | 2 +- 14 files changed, 13 insertions(+), 13 deletions(-) rename types.py => dreamtypes.py (100%) diff --git a/__init__.py b/__init__.py index 15a25a8..d7c2bb3 100644 --- a/__init__.py +++ b/__init__.py @@ -35,7 +35,7 @@ _SIGNATURE_SUFFIX = " [Dream]" MANIFEST = { "name": "Dream Project Animation", - "version": (4, 3, 0), + "version": (4, 3, 1), "author": "Dream Project", "project": "https://github.com/alt-key-project/comfyui-dream-project", "description": "Various utility nodes for creating animations with ComfyUI", diff --git a/base.py b/base.py index 8c9068c..fa02449 100644 --- a/base.py +++ b/base.py @@ -3,7 +3,7 @@ import glob from .categories import NodeCategories from .shared import * -from .types import * +from .dreamtypes import * class DreamFrameCounterInfo: diff --git a/colors.py b/colors.py index 6f67937..9628682 100644 --- a/colors.py +++ b/colors.py @@ -2,7 +2,7 @@ from .categories import NodeCategories from .shared import * -from .types import * +from .dreamtypes import * class DreamImageAreaSampler: diff --git a/curves.py b/curves.py index 7711601..acedce1 100644 --- a/curves.py +++ b/curves.py @@ -8,7 +8,7 @@ from scipy.io.wavfile import read as wav_read from .categories import NodeCategories from .shared import hashed_as_strings -from .types import SharedTypes, FrameCounter +from .dreamtypes import SharedTypes, FrameCounter def _linear_value_calc(x, x_start, x_end, y_start, y_end): diff --git a/types.py b/dreamtypes.py similarity index 100% rename from types.py rename to dreamtypes.py diff --git a/image_processing.py b/image_processing.py index b74543d..4e4da03 100644 --- a/image_processing.py +++ b/image_processing.py @@ -9,7 +9,7 @@ from PIL.Image import Resampling from .categories import * from .shared import ALWAYS_CHANGED_FLAG, convertTensorImageToPIL, DreamImageProcessor, \ DreamImage, DreamMask -from .types import SharedTypes, FrameCounter +from .dreamtypes import SharedTypes, FrameCounter class DreamImageMotion: diff --git a/laboratory.py b/laboratory.py index cb54dd3..ebeae2c 100644 --- a/laboratory.py +++ b/laboratory.py @@ -6,7 +6,7 @@ import json from .categories import * from .shared import ALWAYS_CHANGED_FLAG, DreamStateFile -from .types import * +from .dreamtypes import * _laboratory_state = DreamStateFile("laboratory") diff --git a/loaders.py b/loaders.py index 230c3a7..d25dfe1 100644 --- a/loaders.py +++ b/loaders.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from .categories import NodeCategories from .shared import ALWAYS_CHANGED_FLAG, list_images_in_directory, DreamImage -from .types import SharedTypes, FrameCounter +from .dreamtypes import SharedTypes, FrameCounter import os diff --git a/noise.py b/noise.py index e1f5291..6e01ee3 100644 --- a/noise.py +++ b/noise.py @@ -3,7 +3,7 @@ import math from .categories import NodeCategories from .shared import * -from .types import * +from .dreamtypes import * def _generate_noise(image: DreamImage, color_function, rng: random.Random, block_size, blur_amount, diff --git a/output.py b/output.py index cd9d236..af092c0 100644 --- a/output.py +++ b/output.py @@ -8,7 +8,7 @@ from PIL.PngImagePlugin import PngInfo from .categories import NodeCategories from .shared import hashed_as_strings, DreamImageProcessor, DreamImage, \ list_images_in_directory, DreamConfig -from .types import SharedTypes, FrameCounter, AnimationSequence, LogEntry +from .dreamtypes import SharedTypes, FrameCounter, AnimationSequence, LogEntry CONFIG = DreamConfig() diff --git a/prompting.py b/prompting.py index 18861db..b725eaf 100644 --- a/prompting.py +++ b/prompting.py @@ -1,6 +1,6 @@ from .categories import NodeCategories from .shared import hashed_as_strings -from .types import PartialPrompt +from .dreamtypes import PartialPrompt class DreamWeightedPromptBuilder: diff --git a/seq_processing.py b/seq_processing.py index f853da1..d270a06 100644 --- a/seq_processing.py +++ b/seq_processing.py @@ -10,7 +10,7 @@ from PIL import Image as PilImage from .categories import NodeCategories from .err import on_error from .shared import DreamConfig, MpegEncoderUtility -from .types import * +from .dreamtypes import * CONFIG = DreamConfig() diff --git a/switches.py b/switches.py index 107c856..d860f43 100644 --- a/switches.py +++ b/switches.py @@ -1,7 +1,7 @@ from .categories import NodeCategories from .err import * from .shared import ALWAYS_CHANGED_FLAG, hashed_as_strings -from .types import RGBPalette +from .dreamtypes import RGBPalette def _generate_switch_input(type: str): diff --git a/utility.py b/utility.py index d8be453..5a0e79a 100644 --- a/utility.py +++ b/utility.py @@ -7,7 +7,7 @@ import folder_paths as comfy_paths from .categories import NodeCategories from .shared import hashed_as_strings, DreamStateFile -from .types import LogEntry, SharedTypes, FrameCounter +from .dreamtypes import LogEntry, SharedTypes, FrameCounter _logfile_state = DreamStateFile("logging")