scientific-workflow 0.7.2

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

use serde_json::Value;

use super::super::parameter_tree::reconstruct;
use super::ConfigurationSpaceInner;

pub(super) fn document(inner: &ConfigurationSpaceInner, ordinal: u64) -> Value {
    reconstruct(
        inner
            .fixed
            .iter()
            .chain(inner.sweep.selected_leaves(ordinal)),
    )
}