From b5abddb7c48ff9cdb82b022617547b609d375786 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Thu, 8 Jun 2023 13:23:48 +0900 Subject: [PATCH] bugfix scanner.py --- extension-node-map.json | 17 ++++++++++++++++- scanner.py | 9 ++++++--- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/extension-node-map.json b/extension-node-map.json index 4c25d2b..21bbba1 100644 --- a/extension-node-map.json +++ b/extension-node-map.json @@ -284,6 +284,13 @@ "ImageSegmentationCustomAdvanced", "ImageText", "ImageTextOutlined", + "ImageTransformCropAbsolute", + "ImageTransformCropCorners", + "ImageTransformCropRelative", + "ImageTransformResizeAbsolute", + "ImageTransformResizeRelative", + "ImageTransformRotate", + "ImageTransformTranspose", "LatentClamp", "MaskClamp", "ModelClamp", @@ -472,6 +479,7 @@ "Text Input Switch", "Text List", "Text List Concatenate", + "Text Load Line From File", "Text Multiline", "Text Parse A1111 Embeddings", "Text Parse Noodle Soup Prompts", @@ -587,6 +595,7 @@ "https://github.com/ltdrdata/ComfyUI-Impact-Pack": [ "BasicPipeToDetailerPipe", "BboxDetectorCombined", + "BboxDetectorCombined_v2", "BboxDetectorForEach", "BboxDetectorSEGS", "BitwiseAndMask", @@ -606,10 +615,14 @@ "FaceDetailerPipe", "FromBasicPipe", "FromDetailerPipe", + "ImageMaskSwitch", + "ImageReceiver", + "ImageSender", "IterativeImageUpscale", "IterativeLatentUpscale", "KSamplerProvider", "LatentPixelScale", + "LatentSwitch", "MMDetDetectorProvider", "MMDetLoader", "MaskPainter", @@ -625,6 +638,7 @@ "SAMDetectorCombined", "SAMLoader", "SegmDetectorCombined", + "SegmDetectorCombined_v2", "SegmDetectorForEach", "SegmDetectorSEGS", "Segs & Mask", @@ -730,7 +744,8 @@ "Nui.OutputString" ], "https://github.com/ssitu/ComfyUI_UltimateSDUpscale": [ - "UltimateSDUpscale" + "UltimateSDUpscale", + "UltimateSDUpscaleNoUpscale" ], "https://github.com/strimmlarn/ComfyUI_Strimmlarns_aesthetic_score": [ "AesthetlcScoreSorter", diff --git a/scanner.py b/scanner.py index bda1f22..1e3511f 100644 --- a/scanner.py +++ b/scanner.py @@ -164,9 +164,12 @@ def gen_json(node_info): if len(nodes) > 0: nodes = list(nodes) nodes.sort() - - git_url = node_info[dirname] - data[git_url] = nodes + + if dirname in node_info: + git_url = node_info[dirname] + data[git_url] = nodes + else: + print(f"WARN: {dirname} is removed from custom-node-list.json") for file in node_files: nodes = scan_in_file(file)