Skip to content

Commit

Permalink
make the dataset a value channel again
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Labayle committed Aug 23, 2024
1 parent 6507267 commit 0eb0528
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ params.TL_SAVE_EVERY = params.BATCH_SIZE
params.ESTIMATOR_FILE = "glmnet"

// Outputs Parameters
params.ARROW_OUTPUT = "dataset.arrow"
params.JSON_OUTPUT = "NO_JSON_OUTPUT"
params.JSON_OUTPUT = "results.json"
params.HDF5_OUTPUT = "results.hdf5"

// Simulations
Expand Down
4 changes: 2 additions & 2 deletions workflows/simulations.nf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ workflow NULL_SIMULATION {

}
validated_estimands = estimation_inputs.estimands.flatten()
validated_dataset = estimation_inputs.dataset
validated_dataset = estimation_inputs.dataset.collect()
bootstrap_grid = estimators.combine(validated_estimands).combine(sample_sizes).combine(rngs)
simulation_results = NullSimulationEstimation(validated_dataset, bootstrap_grid)

Expand Down Expand Up @@ -57,7 +57,7 @@ workflow REALISTIC_SIMULATION {
PCA.out.traits,
ga_trait_table
)
dataset = simulation_inputs.dataset
dataset = simulation_inputs.dataset.collect()

// Density Estimation
density_estimates = DensityEstimation(
Expand Down

0 comments on commit 0eb0528

Please sign in to comment.