looper icon indicating copy to clipboard operation
looper copied to clipboard

looper report runs pipestat summarize multiple times

Open donaldcampbelljr opened this issue 5 months ago • 0 comments

I noticed in the refactored hello looper examples that looper report seems to call pipestat summarize multiple times (seemingly once per sample):

(venv) drc@databio:~/GITHUB/hello_looper/hello_looper/pipestat_example$ looper report --portable
Looper version: 2.0.0a1
Command: report
Using looper config (.looper.yaml).
Portable flag set: True
Building index page for pipeline: count_lines
Creating objects summary
'count_lines' pipeline stats summary (n=4): /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/count_lines_stats_summary.tsv
'count_lines' pipeline objects summary (n=0): /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/count_lines_objs_summary.yaml
 * Creating sample pages
 * Creating object pages
Report zip file successfully created: /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/portable_reports/count_lines_report_portable
Report directory: /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/portable_reports/count_lines/index.html
Portable flag set: True
Building index page for pipeline: count_lines
Creating objects summary
'count_lines' pipeline stats summary (n=4): /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/count_lines_stats_summary.tsv
'count_lines' pipeline objects summary (n=0): /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/count_lines_objs_summary.yaml
 * Creating sample pages
 * Creating object pages
Report zip file successfully created: /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/portable_reports/count_lines_report_portable
Report directory: /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/portable_reports/count_lines/index.html
Portable flag set: True
Building index page for pipeline: count_lines
Creating objects summary
'count_lines' pipeline stats summary (n=4): /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/count_lines_stats_summary.tsv
'count_lines' pipeline objects summary (n=0): /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/count_lines_objs_summary.yaml
 * Creating sample pages
 * Creating object pages
Report zip file successfully created: /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/portable_reports/count_lines_report_portable
Report directory: /home/drc/GITHUB/hello_looper/hello_looper/pipestat_example/./results/portable_reports/count_lines/index.html

It should be iterating over each pipeline interface.

donaldcampbelljr avatar Sep 10 '24 17:09 donaldcampbelljr