From 01a1978d5b9667df4ae71a7934512e6c4e3bf9a8 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 1 Jun 2021 01:04:16 -0700 Subject: 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 --- fatcat_scholar/work_pipeline.py | 1 + 1 file changed, 1 insertion(+) (limited to 'fatcat_scholar/work_pipeline.py') 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, -- cgit v1.2.3