19524: propagate pca-components arg.
authorTom Clegg <tom@curii.com>
Wed, 12 Oct 2022 05:11:26 +0000 (01:11 -0400)
committerTom Clegg <tom@curii.com>
Wed, 12 Oct 2022 05:11:26 +0000 (01:11 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

slicenumpy.go

index c5e03d8ed2f412ca2acd912030ef3f6ea4b40513..41f9f5eb43fb2af737fcc4a64a64679f64b54094 100644 (file)
@@ -132,6 +132,7 @@ func (cmd *sliceNumpy) run(prog string, args []string, stdin io.Reader, stdout,
                        "-single-onehot=" + fmt.Sprintf("%v", *onehotSingle),
                        "-chunked-onehot=" + fmt.Sprintf("%v", *onehotChunked),
                        "-pca=" + fmt.Sprintf("%v", *onlyPCA),
+                       "-pca-components=" + fmt.Sprintf("%d", *pcaComponents),
                        "-chi2-case-control-file=" + cmd.chi2CaseControlFile,
                        "-chi2-case-control-column=" + cmd.chi2CaseControlColumn,
                        "-chi2-p-value=" + fmt.Sprintf("%f", cmd.chi2PValue),