Skip to content

Commit 5ab0d80

Browse files
committed
feat(preprocess.py): add fixme for image preprocess
1 parent 39c9ec9 commit 5ab0d80

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

vrdu/preprocess.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
log = logger.get_logger(__name__)
1212

1313

14-
1514
def remove_comments(original_tex: str) -> None:
1615
"""
1716
Removes comments from a TeX file.
@@ -76,6 +75,8 @@ def replace_pdf_ps_figures_with_png(original_tex: str) -> None:
7675
Raises:
7776
FileNotFoundError: If a PDF file specified in the TeX file is not found.
7877
"""
78+
79+
# FIXME: use more robust way, since the path to images may not exists.
7980
main_directory = os.path.dirname(original_tex)
8081
with open(original_tex) as f:
8182
content = f.read()

0 commit comments

Comments
 (0)