scientific-workflow 0.8.1

Configuration-driven scientific tasks, typed state, and durable recordings
Documentation
1
2
3
4
5
6
7
8
9
10
//! Lazy reconstruction of one complete nested task document.

use serde_json::Value;

use super::super::parameter_tree::reconstruct;
use super::PhaseConfigurationInner;

pub(super) fn document(inner: &PhaseConfigurationInner, ordinal: u64) -> Value {
    reconstruct(inner.fixed_leaves().chain(inner.selected_leaves(ordinal)))
}