elifesciences / elife-pubmed-feed

code to support uploading feeds to pubmed for POA articles and VOR articles
1 stars 4 forks source link

Fix elife hook for computational and systems biology category #68

Closed gnott closed 6 years ago

gnott commented 6 years ago

There's some code to make more general purpose, where the category value "computational and systems biology" gets split into two separate category values. This should be turned into an eLife specific function or flag in the config file.

gnott commented 6 years ago

For now the splitting of categories on 'and' into multiple categories, and including the edge case for "computational and systems biology" to be split into ['Computational biology', 'Systems biology'] will be controlled by the config variable split_article_categories: if set to True it will split categories, and the default will be False that will not alter the categories when processed.

Fixed in https://github.com/elifesciences/elife-pubmed-xml-generation/pull/3