Skip to content
Snippets Groups Projects
Commit faae98bc authored by Carlos Vega's avatar Carlos Vega
Browse files

added fields to publication class

parent 2d9d9314
No related branches found
No related tags found
No related merge requests found
class Publication: class Publication:
def __init__(self, pmc_id=None, pm_id=None, doi=None, preprint_id=None, other_id=None): def __init__(self, title=None, year=None, journal_title=None, pmc_id=None, pm_id=None, doi=None, preprint_id=None, other_id=None):
self.title = title
self.year = year
self.journal_title = journal_title
self.pmc_id = pmc_id self.pmc_id = pmc_id
self.pm_id = str(pm_id) self.pm_id = str(pm_id) # pubmed_id
self.doi = doi self.doi = doi
self.preprint_id = preprint_id self.preprint_id = preprint_id
self.other_id = other_id self.other_id = other_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment