We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1fbbfa commit a8a96efCopy full SHA for a8a96ef
src/vuegen/report_generator.py
@@ -1,4 +1,5 @@
1
import logging
2
+import shutil
3
4
from .config_manager import ConfigManager
5
from .quarto_reportview import QuartoReportView
@@ -61,6 +62,11 @@ def get_report(
61
62
st_report.run_report()
63
64
else:
65
+ # Check if Quarto is installed
66
+ if shutil.which("quarto") is None:
67
+ logger.error("Quarto is not installed. Please install Quarto before generating this report type.")
68
+ raise RuntimeError("Quarto is not installed. Please install Quarto before generating this report type.")
69
+
70
quarto_report = QuartoReportView(report=report, report_type=report_type)
71
quarto_report.generate_report()
72
quarto_report.run_report()
0 commit comments