Skip to content

Commit

Permalink
Omit bibtexfiles from diffs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmccurley committed Dec 11, 2024
1 parent 3e5dc21 commit f7bdcdb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions webapp/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,12 +399,14 @@ def final_review(paperid):
diffs = {}
candidate_tex_files = list(candidate_path.glob('output/**/*.tex'))
candidate_tex_files.extend(list(candidate_path.glob('output/**/*.sty')))
candidate_tex_files.extend(list(candidate_path.glob('output/**/*.bib')))
# Due to a bug in htmldiff, we omit bibtex files.
# candidate_tex_files.extend(list(candidate_path.glob('output/**/*.bib')))
candidate_output = candidate_path / Path('output')
candidate_file_map = {str(path.relative_to(candidate_output)): path for path in candidate_tex_files}
final_tex_files = list(final_path.glob('output/**/*.tex'))
final_tex_files.extend(list(final_path.glob('output/**/*.sty')))
final_tex_files.extend(list(final_path.glob('output/**/*.bib')))
# Due to a bug in htmldiff, we omit bibtex files.
# final_tex_files.extend(list(final_path.glob('output/**/*.bib')))
final_output = final_path / Path('output')
final_file_map = {str(path.relative_to(final_output)): path for path in final_tex_files}
for filename, file in candidate_file_map.items():
Expand Down

0 comments on commit f7bdcdb

Please sign in to comment.