Skip to content

Commit

Permalink
fix(analyze_topic): error when path_analysi_only (#181)
Browse files Browse the repository at this point in the history
Signed-off-by: takeshi.iwanari <take.iwiw2222@gmail.com>
  • Loading branch information
iwatake2222 authored Aug 1, 2024
1 parent f855471 commit 62045c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions report/analyze_topic/make_report_analyze_topic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 62045c8

Please sign in to comment.