sorgerlab / indra

INDRA (Integrated Network and Dynamical Reasoning Assembler) is an automated model assembly system interfacing with NLP systems and databases to collect knowledge, and through a process of assembly, produce causal graphs and dynamical models.
http://indra.bio
BSD 2-Clause "Simplified" License
171 stars 65 forks source link

Get article references, either just PMIDs or details #1407

Closed pagreene closed 1 year ago

pagreene commented 1 year ago

This is another small PR that:

  1. Fixes a bug introduced in my last PR (sorry) where you sometimes get an error if an author's last name isn't given, and you chose the default name-only option for getting authors
  2. Adds the ability to include references with the article data, with 3 options: None (no references), 'pmid' (just the pmids), or 'detailed' (getting everything available, more or less). The default is None, which maintains the status quo.

I also added a test for the new functionality.