diff --git a/report/analyze_topic/make_report_analyze_topic.py b/report/analyze_topic/make_report_analyze_topic.py index 47ef5c8..688741c 100644 --- a/report/analyze_topic/make_report_analyze_topic.py +++ b/report/analyze_topic/make_report_analyze_topic.py @@ -96,6 +96,10 @@ def create_node_html_dict(dest_dir: Path) -> dict[str, str]: def make_report(dest_dir: str): """Make report page""" dest_dir = Path(dest_dir) + if not dest_dir.exists(): + print('Warning. No stats file exists.', file=sys.stderr) + return + report_name = dest_dir.parent.name node_html_dict = create_node_html_dict(dest_dir)