We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6917d15 commit 56b98ebCopy full SHA for 56b98eb
1 file changed
batch_process.py
@@ -16,13 +16,13 @@
16
database = "data/processed_paper_database.csv"
17
18
19
-def filter_tex_files(tex_files: List[str], main_path: str = None) -> List[str]:
20
- """extract all MAIN.tex files for processing, if main_path is not None, then
21
- only extract MAIN.tex files in the main_path (not recursive)
+def filter_tex_files(tex_files: List[str], main_path: str) -> List[str]:
+ """extract all MAIN.tex files for processing,
+ only MAIN.tex files in the main_path (not recursive) are extracted
22
23
Args:
24
tex_files (List[str]): list of tex files
25
- main_path (str, optional): path to main directory. Defaults to None.
+ main_path (str): path to main directory.
26
27
Returns:
28
List[str]: list of tex files that are compiable.
0 commit comments