diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-06-01 01:04:16 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-06-02 00:38:51 -0700 |
commit | 01a1978d5b9667df4ae71a7934512e6c4e3bf9a8 (patch) | |
tree | d9d0e87e0c1bdb842696018174db4f432bab20c9 /fatcat_scholar/work_pipeline.py | |
parent | 86b29ed5fca70fc0c52443acf6a5ec1a398ed3f6 (diff) | |
download | fatcat-scholar-01a1978d5b9667df4ae71a7934512e6c4e3bf9a8.tar.gz fatcat-scholar-01a1978d5b9667df4ae71a7934512e6c4e3bf9a8.zip |
schema: add 'crossref' to bundle schema, and add from_json() helper
from_json() refactor was an earlier TODO, to reduce duplication when
updating fields on this class
Diffstat (limited to 'fatcat_scholar/work_pipeline.py')
-rw-r--r-- | fatcat_scholar/work_pipeline.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fatcat_scholar/work_pipeline.py b/fatcat_scholar/work_pipeline.py index 4c8f1be..7b477a0 100644 --- a/fatcat_scholar/work_pipeline.py +++ b/fatcat_scholar/work_pipeline.py @@ -389,6 +389,7 @@ class WorkPipeline: doc_type=DocType.work, releases=releases, biblio_release_ident=pref_idents[0], + crossref=biblio_crossref, grobid_fulltext=grobid_fulltext, pdftotext_fulltext=pdftotext_fulltext, pdf_meta=pdf_meta, |