Skip to content

Commit ea44e19

Browse files
Merge pull request #28 from seasidesparrow/conf_bibcodes.20240626
blank volume for 9-character bibstems (eg conf)
2 parents cb9f90f + dd82ace commit ea44e19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

adsenrich/bibcodes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,10 @@ def make_bibcode(self, record, bibstem=None, volume=None):
357357
if not issue:
358358
issue = is_letter
359359

360+
# for stem.conf, stem.work, stem.data, stem.book etc...
361+
if len(bibstem) == 9:
362+
volume = ""
363+
360364
if not issue:
361365
pageid = pageid.rjust(5, ".")
362366
issue = ""

0 commit comments

Comments
 (0)