Browse Source

bugfix scanner.py

pull/17/head
Dr.Lt.Data 1 year ago
parent
commit
b5abddb7c4
  1. 17
      extension-node-map.json
  2. 9
      scanner.py

17
extension-node-map.json

@ -284,6 +284,13 @@
"ImageSegmentationCustomAdvanced", "ImageSegmentationCustomAdvanced",
"ImageText", "ImageText",
"ImageTextOutlined", "ImageTextOutlined",
"ImageTransformCropAbsolute",
"ImageTransformCropCorners",
"ImageTransformCropRelative",
"ImageTransformResizeAbsolute",
"ImageTransformResizeRelative",
"ImageTransformRotate",
"ImageTransformTranspose",
"LatentClamp", "LatentClamp",
"MaskClamp", "MaskClamp",
"ModelClamp", "ModelClamp",
@ -472,6 +479,7 @@
"Text Input Switch", "Text Input Switch",
"Text List", "Text List",
"Text List Concatenate", "Text List Concatenate",
"Text Load Line From File",
"Text Multiline", "Text Multiline",
"Text Parse A1111 Embeddings", "Text Parse A1111 Embeddings",
"Text Parse Noodle Soup Prompts", "Text Parse Noodle Soup Prompts",
@ -587,6 +595,7 @@
"https://github.com/ltdrdata/ComfyUI-Impact-Pack": [ "https://github.com/ltdrdata/ComfyUI-Impact-Pack": [
"BasicPipeToDetailerPipe", "BasicPipeToDetailerPipe",
"BboxDetectorCombined", "BboxDetectorCombined",
"BboxDetectorCombined_v2",
"BboxDetectorForEach", "BboxDetectorForEach",
"BboxDetectorSEGS", "BboxDetectorSEGS",
"BitwiseAndMask", "BitwiseAndMask",
@ -606,10 +615,14 @@
"FaceDetailerPipe", "FaceDetailerPipe",
"FromBasicPipe", "FromBasicPipe",
"FromDetailerPipe", "FromDetailerPipe",
"ImageMaskSwitch",
"ImageReceiver",
"ImageSender",
"IterativeImageUpscale", "IterativeImageUpscale",
"IterativeLatentUpscale", "IterativeLatentUpscale",
"KSamplerProvider", "KSamplerProvider",
"LatentPixelScale", "LatentPixelScale",
"LatentSwitch",
"MMDetDetectorProvider", "MMDetDetectorProvider",
"MMDetLoader", "MMDetLoader",
"MaskPainter", "MaskPainter",
@ -625,6 +638,7 @@
"SAMDetectorCombined", "SAMDetectorCombined",
"SAMLoader", "SAMLoader",
"SegmDetectorCombined", "SegmDetectorCombined",
"SegmDetectorCombined_v2",
"SegmDetectorForEach", "SegmDetectorForEach",
"SegmDetectorSEGS", "SegmDetectorSEGS",
"Segs & Mask", "Segs & Mask",
@ -730,7 +744,8 @@
"Nui.OutputString" "Nui.OutputString"
], ],
"https://github.com/ssitu/ComfyUI_UltimateSDUpscale": [ "https://github.com/ssitu/ComfyUI_UltimateSDUpscale": [
"UltimateSDUpscale" "UltimateSDUpscale",
"UltimateSDUpscaleNoUpscale"
], ],
"https://github.com/strimmlarn/ComfyUI_Strimmlarns_aesthetic_score": [ "https://github.com/strimmlarn/ComfyUI_Strimmlarns_aesthetic_score": [
"AesthetlcScoreSorter", "AesthetlcScoreSorter",

9
scanner.py

@ -164,9 +164,12 @@ def gen_json(node_info):
if len(nodes) > 0: if len(nodes) > 0:
nodes = list(nodes) nodes = list(nodes)
nodes.sort() nodes.sort()
git_url = node_info[dirname] if dirname in node_info:
data[git_url] = nodes 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: for file in node_files:
nodes = scan_in_file(file) nodes = scan_in_file(file)

Loading…
Cancel
Save