- Fix import mismatches in __init__.py between declared and actual node classes - Remove non-existent node imports (DCIImageExporter, DCIImageExporterAdvanced, etc.) - Add robust fallback import strategy for both main __init__.py and py/nodes.py - Support relative imports with absolute import fallback for different environments - Remove problematic 'import *' statement from py/__init__.py to prevent conflicts - Update README.md to reflect only the 5 actually available nodes - Remove extensive documentation for non-existent nodes (11 → 5 nodes) - Simplify node categorization from 4 to 3 subcategories - Ensure all DCI nodes appear correctly in ComfyUI interface under DCI category - Maintain backward compatibility while fixing core functionality 修复:解决ComfyUI节点注册和文档问题 - 修复__init__.py中声明的节点类与实际节点类不匹配的导入问题 - 移除不存在的节点导入(DCIImageExporter、DCIImageExporterAdvanced等) - 为主__init__.py和py/nodes.py添加健壮的回退导入策略 - 支持相对导入,并为不同环境提供绝对导入回退 - 移除py/__init__.py中有问题的'import *'语句以防止冲突 - 更新README.md以仅反映5个实际可用的节点 - 移除大量不存在节点的文档(从11个减少到5个节点) - 简化节点分类从4个子分类减少到3个 - 确保所有DCI节点在ComfyUI界面的DCI分类下正确显示 - 在修复核心功能的同时保持向后兼容性
16 lines
381 B
Python
16 lines
381 B
Python
# ComfyUI DCI Extension - Python Module
|
|
# This module contains the core Python implementation for DCI format handling
|
|
|
|
__version__ = "1.0.0"
|
|
__author__ = "ComfyUI DCI Team"
|
|
__description__ = "DCI (DSG Combined Icons) format support for ComfyUI"
|
|
|
|
# Import core modules
|
|
from .dci_format import DCIFile
|
|
from .dci_reader import DCIReader
|
|
|
|
__all__ = [
|
|
'DCIFile',
|
|
'DCIReader',
|
|
]
|