Skip to content

Commit

Permalink
fix pipeline example smoke
Browse files Browse the repository at this point in the history
  • Loading branch information
ztq1996 committed Jul 31, 2024
1 parent 8f11a7f commit 71ec76c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 11 additions & 0 deletions examples/core_examples/pipe_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 0 additions & 11 deletions examples/core_examples/pipe_example_config.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 71ec76c

Please sign in to comment.