publist

managing my list of publications, talks, reviews
git clone https://a3nm.net/git/publist/
Log | Files | Refs | README | LICENSE

commit 4d2505aaa49da16a1ffe6a88b65f803d0ed103d0
parent b7939420c41c30fb9e655bd132f08c3ad4184c92
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Tue, 18 Jan 2022 20:08:40 +0100

fix dupe URLs and DOIs

Diffstat:
make_talks_html.py | 16++++++++++++++++
publis | 11++++++-----
2 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/make_talks_html.py b/make_talks_html.py @@ -161,6 +161,8 @@ if __name__ == '__main__': fmain = open('publis_main.html.' + lang, 'w') fall = open('publis_all.html.' + lang, 'w') lastyear = None + doiset = set() + urlset = set() for publi in parse(publisfn): print(publi['id']) year = getyear(publi) @@ -169,6 +171,13 @@ if __name__ == '__main__': assert('url' in publi.keys()) if publi['url'].lower() == 'none': del publi['url'] + # no duplicate URLs + if 'url' in publi.keys(): + url = publi['url'] + if (url in urlset): + print("ERROR duplicate url for %s" % publi['id'], file=sys.stderr) + assert(url not in urlset) + urlset.add(url) # all publis should have a DOI, but sometimes they don't # except if wrong types @@ -180,6 +189,13 @@ if __name__ == '__main__': assert('doi' in publi.keys()) if 'doi' in publi.keys() and publi['doi'].lower() == 'none': del publi['doi'] + # no duplicate DOIs + if 'doi' in publi.keys(): + doi = publi['doi'] + if (doi in doiset): + print("ERROR duplicate DOI for %s" % publi['id'], file=sys.stderr) + assert(doi not in doiset) + doiset.add(doi) outlist = set() if 'venue' in publi.keys(): diff --git a/publis b/publis @@ -79,7 +79,7 @@ VideoExternal: https://peertube.r2.enst.fr/videos/watch/9d7fdea9-6adf-4b6a-933d- VideoPlatform: PeerTube INFRES VideoLicense: Attribution JournalVersion: amarilli2021uniform -DOI: 10.1109/ICDE51399.2021.00182 +DOI: 10.4230/LIPIcs.ICDT.2021.17 Id: amarilli2020constant Title: Constant-Delay Enumeration for Nondeterministic Document Spanners @@ -123,7 +123,7 @@ Award: Best paper award of ICDT'20 AwardFr: Prix du meilleur article à ICDT'20 # JournalVersion: amarilli2021dichotomy # AWARD: co-winner of the BDA best published paper award -DOI: 10.1145/3340531.3417431 +DOI: 10.4230/LIPIcs.ICDT.2020.5 Id: romero2020equivalent Title: Equivalent Rewritings on Path Views with Binding Patterns @@ -139,7 +139,7 @@ VideoPlatform: Videolectures.net VideoAuthor: jromero Slides: /work/talks/eswc2020/romero2020equivalent_slides.pdf VideoAuthor: jromero -DOI: 10.1145/3340531.3417431 +DOI: 10.1007/978-3-030-49461-2_26 Id: amarilli2020finite Oldid: amarilli2016finite amarilli2019finite @@ -166,7 +166,8 @@ Slides: /work/talks/neurips2019/shih2019smoothing_slides.pdf SlidesAuthor: ashih Poster: /work/talks/neurips2019/shih2019smoothing_poster.pdf PosterAuthor: ashih -DOI: 10.1145/3365834 +DOI: none +PublisherURL: https://proceedings.neurips.cc/paper/2019/hash/940392f5f32a7ade1cc201767cf83e31-Abstract.html Id: amarilli2019connecting Title: Connecting Knowledge Compilation Classes and Width Parameters @@ -567,7 +568,7 @@ DOI: 10.1007/978-3-662-43984-5_27 Id: amarilli2014possibility Title: The Possibility Problem for Probabilistic XML Authors: me -Url: https://arxiv.org/abs/1404.3131 +Url: http://ceur-ws.org/Vol-1189/paper_2.pdf Reviewed: yes Venue: amw2014 Slides: /work/talks/amw2014/amarilli2014possibility_slides.pdf