diff --git a/cv.yaml b/cv.yaml index d817322..c8dc969 100644 --- a/cv.yaml +++ b/cv.yaml @@ -224,6 +224,7 @@ all_publications: sort_bib: True include_image: True group_by_year: True + error_without_author_url: True author_urls: 'Aram-Alexandre Pooladian': 'http://arampooladian.com/' 'Carles Domingo-Enrich': 'https://cims.nyu.edu/~cd2754/' @@ -393,6 +394,10 @@ all_publications: 'Yoshua Bengio': 'https://yoshuabengio.org/profile/' 'Alexander Tong': 'https://www.alextong.net/' 'Kirill Neklyudov': 'https://necludov.github.io/' + 'Sanae Lotfi': 'https://sanaelotfi.github.io/' + 'Yilun Kuang': 'https://yilunkuang.github.io/' + 'Marc Anton Finzi': 'https://mfinzi.github.io/' + 'Micah Goldblum': 'https://goldblum.github.io/' repos: - repo_url: https://github.com/facebookresearch/advprompter @@ -510,7 +515,7 @@ talks: - title: Amortized optimization for optimal transport and LLM attacks location: ISMP year: 2024 - - title: Differentiable optimization for control and robotics + - title: Differentiable optimization for robotics location: RSS Optimization for Robotics Workshop url: https://sites.google.com/robotics.utias.utoronto.ca/frontiers-optimization-rss24/schedule year: 2024 diff --git a/generate.py b/generate.py index 96c6bcc..17357cd 100755 --- a/generate.py +++ b/generate.py @@ -52,6 +52,7 @@ def _get_author_str(immut_author_list): def _format_author_list(immut_author_list): formatted_authors = [] + author_not_found = False for author in immut_author_list: new_auth = author.split(", ") assert len(new_auth) == 2 @@ -61,6 +62,7 @@ def _format_author_list(immut_author_list): k = list(filter(lambda k: k in new_auth, author_urls.keys())) if len(k) == 0 and config['name'] not in new_auth: print(f"+ Author URL not found for {new_auth}") + author_not_found = True new_auth = new_auth.replace(' ', ' ') if len(k) > 0: @@ -81,6 +83,10 @@ def _format_author_list(immut_author_list): # if config['name'] in new_auth: # new_auth = "" + new_auth + "" formatted_authors.append(new_auth) + + if author_not_found and config['error_without_author_url']: + raise ValueError('error: author URLs not found') + return formatted_authors def _get_pub_str(pub, prefix, gidx, include_image):