Skip to content

Support multiple output products from fold nodes #947

Description

@knoepfel

Summary

Allow fold nodes to produce multiple output data products.

Current behavior

Fold registration and implementation currently assume exactly one output product. The fold API declares num_outputs = 1, and the fold node builds its output specification from a single result type.

Desired behavior

A fold algorithm should be able to return multiple output objects from its final result, with each output product assigned a corresponding suffix through output_product_suffixes(...).

Acceptance criteria

  • Fold algorithms can define multiple output product types.
  • Fold output specifications map each returned object to its corresponding output suffix.
  • Registration validates that the number of specified suffixes matches the number of returned products.
  • Tests verify that downstream algorithms can consume each output product.

Activity

  1. added theissue type on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions