From fcecb2d7725ebe47e33a876e7504534e1db205b8 Mon Sep 17 00:00:00 2001 From: Sebastian Monroy Date: Tue, 15 Jul 2025 17:38:06 +0100 Subject: [PATCH] removed unnecessary comments and prints --- nilornodes.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nilornodes.py b/nilornodes.py index 5a39f63..ce8c577 100644 --- a/nilornodes.py +++ b/nilornodes.py @@ -1165,25 +1165,21 @@ class NilorToSparseIndexMethod: def INPUT_TYPES(s): return { "required": { - "ints": ("INT", {"default": 0}), # Removed input_is_list=True + "ints": ("INT", {"default": 0}), }, } RETURN_TYPES = ("STRING",) RETURN_NAMES = ("sparse_method",) OUTPUT_IS_LIST = (False,) - INPUT_IS_LIST = True # Crucial: Receive entire list in one go + INPUT_IS_LIST = True FUNCTION = "convert_to_sparse_index_method" CATEGORY = category + subcategories["utilities"] def convert_to_sparse_index_method(self, ints): - # 'ints' will now be the full list of integers, e.g., [0, 32, 64, 96] indexes_str = ",".join(map(str, ints)) - print(f"NilorToSparseIndexMethod final output: {indexes_str}") - print(f"Type of final output: {type(indexes_str)}") - return (indexes_str,)