Nodes/WAS Node Suite v3/Dataset Merge
ComfyUI Node Runs on cloud

Dataset Merge

Join two datasets into one, the second's items after the first's, so sets loaded from several folders are checked, edited and saved together. A name the first already holds is numbered, as `cat_2`, so no item is lost.

By WASasquatch·Created 4 years ago·Updated 3 days ago· 1,900
Dataset Merge
  • dataset_a
  • dataset_b
  • dataset
  • count
  • renamed
CategoryWAS Suite/Dataset

Inputs (2)

NameTypeDefaultDescription
dataset_aWAS_DATASETThe first dataset. Its items come first and keep their names.
dataset_bWAS_DATASETThe second dataset. Its items follow; one whose name dataset_a already holds, case ignored, is renamed `cat_2`, `cat_3` and so on.

Outputs (3)

NameTypeDescription
datasetWAS_DATASETEvery item of both, dataset_a's first. Save Dataset writes a renamed item under its new name, as cat_2.png with cat_2.txt.
countINTHow many items the joined dataset holds.
renamedINTHow many of dataset_b's items took a number. 0 = no name was shared.