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 c3b74ae commit 5beaebcCopy full SHA for 5beaebc
codeflash/discovery/functions_to_optimize.py
@@ -288,6 +288,9 @@ def get_all_replay_test_functions(
288
function = function_name
289
file_path_parts = module_path_parts
290
file_path = Path(project_root_path, *file_path_parts).with_suffix(".py")
291
+ if not file_path.exists():
292
+ print(f"{file_path} does not exist")
293
+ continue
294
file_to_functions_map[file_path].append((function, function_name, class_name))
295
for file_path, functions in file_to_functions_map.items():
296
all_valid_functions: dict[Path, list[FunctionToOptimize]] = find_all_functions_in_file(file_path=file_path)
0 commit comments