diff --git a/src/utils/report_utils.py b/src/utils/report_utils.py index e2e0b47..1b3351e 100644 --- a/src/utils/report_utils.py +++ b/src/utils/report_utils.py @@ -39,10 +39,12 @@ def load_scanner_reports(scanner_type: str = None): if not file.name.startswith("canslim_"): print(f"Skipping {file.name} - not a CANSLIM report") # Debug print continue - elif scanner_type == "non_canslim": # New option for non-CANSLIM reports + elif scanner_type == "non_canslim": + # Accept any file that doesn't start with "canslim_" if file.name.startswith("canslim_"): print(f"Skipping {file.name} - is a CANSLIM report") # Debug print continue + # No other conditions - accept all non-CANSLIM files reports.append({ 'name': file.name,