jobs/parameters_job.rb in remi-0.2.37 vs jobs/parameters_job.rb in remi-0.2.38
- old
+ new
@@ -11,10 +11,10 @@
}
define_target :target_data, Remi::DataTarget::DataFrame
define_transform :main do
Remi::SourceToTargetMap.apply(source_data.df, target_data.df) do
- map source(nil) .target(:myparam)
+ map target(:myparam)
.transform(Remi::Transform::Constant.new(params[:myparam]))
map source(:parameter_name) .target(:parameter_name)
.transform(->(v) { params[v.to_sym] })
end
end