Skip to content

Commit

Permalink
Add logged messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Jul 9, 2024
1 parent 4489dd2 commit 0f678db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qsiprep/viz/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ def generate_reports(subject_list, pipeline_mode="qsiprep"):
"""
A wrapper to run_reports on a given ``subject_list``
"""
config.loggers.cli.warning(f"Generating report for pipeline mode '{pipeline_mode}")
reports_dir = str(config.execution.reportlets_dir)
run_uuid = config.execution.run_uuid
if config.execution.recon_only:
Expand All @@ -368,6 +369,8 @@ def generate_reports(subject_list, pipeline_mode="qsiprep"):
else:
output_dir = str(config.execution.qsiprep_dir / pipeline_mode)

config.loggers.cli.warning(f"Using report output dir '{output_dir}")

report_errors = [
run_reports(
reports_dir,
Expand Down

0 comments on commit 0f678db

Please sign in to comment.