Skip to content

Conversation

@kelockhart
Copy link
Member

To fix issues reported https://adsabs.atlassian.net/browse/MIC-91:

  • no new line character is inserted between items in a bulk AGU export
    • this is a UI issue (the service is returning correctly, with a line break), will be handled separately
  • AGU export erroneously does not include a comma between the title and the journal name; also, no comma after the year in AGU export.
  • AMS export seems to completely lose the journal name.
    • this was due to the form=short in the CSL - we don't have a short form, so the journal name was omitted altogether

Also, fixed some broken/incomplete unittests.

@coveralls
Copy link

coveralls commented Jan 6, 2026

Coverage Status

coverage: 96.58% (+0.01%) from 96.57%
when pulling 861a793 on kelockhart:agu-fixes
into b458daf on adsabs:master.

@kelockhart
Copy link
Member Author

@akelbert No need to look at the code, but check my notes in the PR description, and maybe look at the expected output in exportsrv/tests/unittests/stubdata/cslTest.py

'agu': u'Aharon, P.. (2005). Catastrophic flood outbursts in mid-continent left imprints in the Gulf of Mexico. <i>Geo-marine Letters</i>. https://doi.org/10.1007/s00367-005-0006-y\n',
'gsa': u'Aharon, P., 2005, Catastrophic flood outbursts in mid-continent left imprints in the Gulf of Mexico: Geo-Marine Letters,, doi:10.1007/s00367-005-0006-y.\n',
'ams': u'Aharon, P., 2005: Catastrophic flood outbursts in mid-continent left imprints in the Gulf of Mexico https://doi.org/10.1007/s00367-005-0006-y.\n',
'ams': u'Aharon, P., 2005: Catastrophic flood outbursts in mid-continent left imprints in the Gulf of Mexico <i>Geo-Marine Letters</i>, https://doi.org/10.1007/s00367-005-0006-y.\n',
Copy link
Member

@ehenneken ehenneken Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the AGU style guide (https://www.agu.org/publications/authors/journals/grammar-style-guide) under "Reference list" I think the AGU format should have just one period after the author's initial:

Aharon, P. (2005). etc etc

Copy link
Member

@ehenneken ehenneken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small comment/question

@kelockhart kelockhart merged commit 99b480b into adsabs:master Feb 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants