Skip to content

Commit

Permalink
Fix check of IPAC2023 script
Browse files Browse the repository at this point in the history
  • Loading branch information
michamos committed Dec 7, 2023
1 parent c1f8b53 commit 4ddff18
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/remove-wrong-ipac2023-authors/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ class RemoveWrongIPAC2023Authors(SearchCheckDo):

@staticmethod
def check(record, logger, state):
CNUM in record.get_value("publication_info.cnum", []) and record.get_value(
"authors.full_name", []
) == AUTHOR_LIST
return (
CNUM in record.get_value("publication_info.cnum", [])
and record.get_value("authors.full_name", []) == AUTHOR_LIST
)

@staticmethod
def do(record, logger, state):
Expand Down

0 comments on commit 4ddff18

Please sign in to comment.