Skip to content

Commit

Permalink
mahes comment is better
Browse files Browse the repository at this point in the history
  • Loading branch information
boyanpenkov committed May 26, 2024
1 parent 4dc3184 commit 9d19564
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion papers/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ def check_legacy_config(configfile):

def get_biblio(config):
"""
Given a config, get the Biblio object associated with this run. If there's no Biblio object, will make a new one, silently.
This function initializes a Biblio object based on the bibtex file specified as command line argument or in config file.
If no bibtex file is specified, it raises a ValueError().
"""
if config.bibtex is None:
raise ValueError('bibtex is not initialized')
Expand Down

0 comments on commit 9d19564

Please sign in to comment.