Homec4science

BibFormat: several fixes

Authored by Jan Aage Lavik <jan.age.lavik@cern.ch> on Feb 5 2013, 22:09.

Description

BibFormat: several fixes

  • The recent changes of get_cited_by that now returns a set broke the intbitset "|" operator, this patch fixes the use of get_cited_by.
  • The check for missing formats would raise an exception when the database contains 0 records.
  • Instead of a single sql query for updated records, we split it in multiple ones with a limit of 5000 records per query.
  • Removes useless variables and imports.
  • PEP8 fixes.

Co-authored-by: Alessio Deiana <alessio.deiana@cern.ch>
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>

Details

Committed
Samuele Kaplun <samuele.kaplun@cern.ch>Dec 18 2013, 16:21
Parents
R3600:4a0e4d538bdc: BibFormat: fix in date comparison
Branches
Unknown
Tags
Unknown

Event Timeline

Samuele Kaplun <samuele.kaplun@cern.ch> committed R3600:6878dc438c22: BibFormat: several fixes (authored by Jan Aage Lavik <jan.age.lavik@cern.ch>).Dec 18 2013, 16:21