chem changed to chemical
Browse files- pmc_open_access_xml.py +2 -2
pmc_open_access_xml.py
CHANGED
@@ -72,7 +72,7 @@ _SUBSETS = {
|
|
72 |
_BASELINE_DATE = "2022-09-03"
|
73 |
|
74 |
REFS_KEYS = ["pmid_ref", "unknown_pub_ref", "figure_ref", "table_ref", "formula_ref", "box_ref", "code_ref",
|
75 |
-
"quote_ref", "
|
76 |
CONTENT_KEYS = ["introduction", "methods", "results", "discussion", "conclusion",
|
77 |
"front", "body", "back", "figure", "table", "formula", "box",
|
78 |
"code", "quote", "chemical", "supplementary", "footnote"]
|
@@ -99,7 +99,7 @@ TAG_DIC = {"fig":("FIG","figure_ref"), "table-wrap":("TAB","table_re
|
|
99 |
"media":("MEDIA","media_ref"), "inline-media":("MEDIA","media_ref"),
|
100 |
"disp-formula":("FORMU","formula_ref"), "inline-formula":("FORMU","formula_ref"),
|
101 |
"table-wrap-foot":("FOOTN","footnote_ref"), "fn-group":("FOOTN","footnote_ref"),
|
102 |
-
"code":("CODE","code_ref"), "chem-struct-wrap":("CHEM","
|
103 |
"disp-quote":("QUOTE","quote_ref"), "speech":("QUOTE","quote_ref"),
|
104 |
"supplementary-material":("SUPPL","supplementary_ref"),
|
105 |
"inline-supplementary-material":("SUPPL","supplementary_ref")}
|
|
|
72 |
_BASELINE_DATE = "2022-09-03"
|
73 |
|
74 |
REFS_KEYS = ["pmid_ref", "unknown_pub_ref", "figure_ref", "table_ref", "formula_ref", "box_ref", "code_ref",
|
75 |
+
"quote_ref", "chemical_ref", "supplementary_ref", "footnote_ref", "graphic_ref", "media_ref"]
|
76 |
CONTENT_KEYS = ["introduction", "methods", "results", "discussion", "conclusion",
|
77 |
"front", "body", "back", "figure", "table", "formula", "box",
|
78 |
"code", "quote", "chemical", "supplementary", "footnote"]
|
|
|
99 |
"media":("MEDIA","media_ref"), "inline-media":("MEDIA","media_ref"),
|
100 |
"disp-formula":("FORMU","formula_ref"), "inline-formula":("FORMU","formula_ref"),
|
101 |
"table-wrap-foot":("FOOTN","footnote_ref"), "fn-group":("FOOTN","footnote_ref"),
|
102 |
+
"code":("CODE","code_ref"), "chem-struct-wrap":("CHEM","chemical_ref"),
|
103 |
"disp-quote":("QUOTE","quote_ref"), "speech":("QUOTE","quote_ref"),
|
104 |
"supplementary-material":("SUPPL","supplementary_ref"),
|
105 |
"inline-supplementary-material":("SUPPL","supplementary_ref")}
|