Skip to content

Commit

Permalink
fix filter for affiliation annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Feb 16, 2024
1 parent 6fdcc24 commit 2a21311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def get_file_hash(fname):
annotations = list(filter(lambda a: a['type'] != 'figure', annotations))

if not highlight_affiliations:
annotations = list(filter(lambda a: a['type'] != '', annotations))
annotations = list(filter(lambda a: a['type'] != 'affiliation', annotations))

pdf_viewer(
input=st.session_state['binary'],
Expand Down

0 comments on commit 2a21311

Please sign in to comment.