Miscs
This commit is contained in:
@@ -88,6 +88,10 @@ do not score or give feedback to any other question."""
|
||||
def make_prompt(input_dir,full_label):
|
||||
def read_longest_prefix_file(subdir):
|
||||
dir_path = input_dir / subdir
|
||||
if not dir_path.exists():
|
||||
if subdir != "Persp":
|
||||
print("Warning !! Directory doesn't exist : ", dir_path)
|
||||
return ""
|
||||
matches = [f for f in dir_path.iterdir()
|
||||
if f.is_file()
|
||||
and full_label.startswith(f.name)
|
||||
|
||||
Reference in New Issue
Block a user