I/O pipeline, show arvados container logs.
[lightning.git] / plot.go
diff --git a/plot.go b/plot.go
index 6705f146c0e8994c6db189b4a595793924f6a3d9..9723c91c88625ec99830f135aafea8ffdaae12a0 100644 (file)
--- a/plot.go
+++ b/plot.go
@@ -51,10 +51,12 @@ func (cmd *pythonPlot) RunCommand(prog string, args []string, stdin io.Reader, s
        }
        runner.Prog = "python3"
        runner.Args = []string{"/plot.py", *inputFilename, *sampleCSVFilename, *sampleFastaDirname, "/mnt/output/plot.png"}
-       err = runner.Run()
+       var output string
+       output, err = runner.Run()
        if err != nil {
                return 1
        }
+       fmt.Fprintln(stdout, output+"/plot.png")
        return 0
 }