Skip to content
Snippets Groups Projects
Commit 624c7716 authored by Jochens, Florian's avatar Jochens, Florian
Browse files

fixed bugs in publication.py

parent 4fa2b0c7
No related branches found
No related tags found
No related merge requests found
File added
......@@ -6,8 +6,8 @@ class Publication:
"""
def __init__(self, doi_url: str, title: str
, contributors: str, journal: str
, publication_date: str, subjects: list[str], num_citations: int = None
, references: list[any] = None, citations: list[any] = None ):
, publication_date: str, subjects = None, num_citations = None
, references = None, citations = None ):
"""
Parameters
----------
......@@ -133,8 +133,8 @@ Subjects:''')
class Citation:
def __init__(self, doi_url: str, title: str
, journal: str, contributors: list[str]
, cit_type: str = "Citation"):
, journal: str, contributors = None
, cit_type = "Citation"):
"""
Parameters
----------
......@@ -168,7 +168,7 @@ class Citation:
# This is just a replica of Citations
class Reference:
def __init__(self, doi_url: str, title: str, journal: str, contributors: list[str]):
def __init__(self, doi_url, title, journal, contributors):
self.title = title
self.doi_url = doi_url
self.journal = journal
......
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