We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c94d9e commit 4f81dd8Copy full SHA for 4f81dd8
2 files changed
main.py
@@ -108,6 +108,8 @@ def process_one_file(file_name: str) -> None:
108
try:
109
# change the working directory to the main directory of the paper
110
os.chdir(main_directory)
111
+ # create output folder
112
+ os.makedirs(os.path.join(main_directory, "output/result"))
113
114
# step 1: preprocess the paper
115
preprocess.run(original_tex)
vrdu/preprocess.py
@@ -188,7 +188,3 @@ def run(original_tex: str) -> None:
188
189
# Step 3: delete table of contents
190
delete_table_of_contents(original_tex)
191
-
192
- # create output folder
193
- main_directory = os.path.dirname(original_tex)
194
- os.makedirs(os.path.join(main_directory, "output/result"))
0 commit comments