MCPcopy Create free account
hub / github.com/boutproject/BOUT-dev / get_authors_from_cff_file

Function get_authors_from_cff_file

bin/update_citations.py:76–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74
75
76def get_authors_from_cff_file():
77 file_contents = parse_cff_file()
78 try:
79 return file_contents["authors"]
80 except KeyError as key_error:
81 raise ValueError(f"Failed to find section:{key_error} in {CITATION_FILE}")
82
83
84class ExistingAuthorNames:

Callers 1

update_citationsFunction · 0.85

Calls 1

parse_cff_fileFunction · 0.85

Tested by

no test coverage detected