Generate output filename based on format and PID. Args: format_type: The output format pid: Process ID Returns: Generated filename
(format_type, pid)
| 608 | |
| 609 | |
| 610 | def _generate_output_filename(format_type, pid): |
| 611 | """Generate output filename based on format and PID. |
| 612 | |
| 613 | Args: |
| 614 | format_type: The output format |
| 615 | pid: Process ID |
| 616 | |
| 617 | Returns: |
| 618 | Generated filename |
| 619 | """ |
| 620 | extension = FORMAT_EXTENSIONS.get(format_type, "txt") |
| 621 | # For heatmap, use cleaner directory name without extension |
| 622 | if format_type == "heatmap": |
| 623 | return f"heatmap_{pid}" |
| 624 | return f"{format_type}_{pid}.{extension}" |
| 625 | |
| 626 | |
| 627 | def _open_in_browser(path): |
no test coverage detected
searching dependent graphs…