Skip to content

Commit

Permalink
Merge pull request #60 from seasidesparrow/main
Browse files Browse the repository at this point in the history
Maintenance release: crossref book chapters
  • Loading branch information
seasidesparrow authored Oct 23, 2024
2 parents 7e50c7a + 222bca9 commit e1a7788
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions adsmanparse/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,11 @@ def _get_publication(self):
volume = publication.get('volumeNum', None)
issue = publication.get('issueNum', None)
publisher = publication.get('publisher', None)
book = publication.get('bookSeries', {}).get('seriesName', None)
if journal:
pubstring = journal
elif book:
pubstring = book
if volume:
if pubstring:
pubstring = pubstring + ', Volume ' + volume
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
git+https://github.com/adsabs/[email protected].27
git+https://github.com/adsabs/[email protected].15
git+https://github.com/adsabs/[email protected].30
git+https://github.com/adsabs/[email protected].17
adsputils==1.5.2
habanero==0.7.4
namedentities==1.9.4
Expand Down

0 comments on commit e1a7788

Please sign in to comment.