From 71ec76c7bfd56f8e0a7c7ebaaad6f9400335f2f1 Mon Sep 17 00:00:00 2001 From: Tianqing Zhang Date: Wed, 31 Jul 2024 18:35:13 -0400 Subject: [PATCH] fix pipeline example smoke --- examples/core_examples/pipe_example.yml | 11 +++++++++++ examples/core_examples/pipe_example_config.yml | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/examples/core_examples/pipe_example.yml b/examples/core_examples/pipe_example.yml index 9ea1cdb..7bc5ce8 100644 --- a/examples/core_examples/pipe_example.yml +++ b/examples/core_examples/pipe_example.yml @@ -12,15 +12,26 @@ stages: module_name: rail.creation.engines.flowEngine name: flow_engine_test nprocess: 1 + aliases: + output: output_flow_engine_test - classname: LSSTErrorModel module_name: rail.creation.degraders.lsst_error_model name: lsst_error_model_test nprocess: 1 + aliases: + input: output_flow_engine_test + output: output_lsst_error_model_test - classname: ColumnMapper module_name: rail.tools.table_tools name: col_remapper_test nprocess: 1 + aliases: + input: output_lsst_error_model_test + output: output_col_remapper_test - classname: TableConverter module_name: rail.tools.table_tools name: table_conv_test nprocess: 1 + aliases: + input: output_col_remapper_test + output: output_table_conv_test diff --git a/examples/core_examples/pipe_example_config.yml b/examples/core_examples/pipe_example_config.yml index c871d35..55cbc37 100644 --- a/examples/core_examples/pipe_example_config.yml +++ b/examples/core_examples/pipe_example_config.yml @@ -1,7 +1,4 @@ col_remapper_test: - aliases: - input: output_lsst_error_model_test - output: output_col_remapper_test chunk_size: 100000 columns: mag_g_lsst_err: mag_err_g_lsst @@ -17,8 +14,6 @@ col_remapper_test: name: col_remapper_test output_mode: default flow_engine_test: - aliases: - output: output_flow_engine_test config: null model: ${FLOWDIR}/pretrained_flow.pkl n_samples: 50 @@ -36,9 +31,6 @@ lsst_error_model_test: y: 23.73 z: 24.16 airmass: 1.2 - aliases: - input: output_flow_engine_test - output: output_lsst_error_model_test bandNames: g: mag_g_lsst i: mag_i_lsst @@ -96,9 +88,6 @@ lsst_error_model_test: z: 0.69 tvis: 30.0 table_conv_test: - aliases: - input: output_col_remapper_test - output: output_table_conv_test config: null input: None name: table_conv_test