commonmeta-py 0.129__py3-none-any.whl → 0.130__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- commonmeta/__init__.py +1 -1
- commonmeta/writers/crossref_xml_writer.py +4 -0
- {commonmeta_py-0.129.dist-info → commonmeta_py-0.130.dist-info}/METADATA +1 -1
- {commonmeta_py-0.129.dist-info → commonmeta_py-0.130.dist-info}/RECORD +7 -7
- {commonmeta_py-0.129.dist-info → commonmeta_py-0.130.dist-info}/WHEEL +0 -0
- {commonmeta_py-0.129.dist-info → commonmeta_py-0.130.dist-info}/entry_points.txt +0 -0
- {commonmeta_py-0.129.dist-info → commonmeta_py-0.130.dist-info}/licenses/LICENSE +0 -0
commonmeta/__init__.py
CHANGED
@@ -371,6 +371,10 @@ def write_crossref_xml_list(metalist) -> Optional[str]:
|
|
371
371
|
crossref_xml_list = []
|
372
372
|
for item in metalist.items:
|
373
373
|
data = convert_crossref_xml(item)
|
374
|
+
if data is None:
|
375
|
+
logger.error(f"Could not convert metadata to Crossref XML: {item.id}")
|
376
|
+
continue
|
377
|
+
|
374
378
|
crossref_xml = schema.dump(data)
|
375
379
|
|
376
380
|
# Ensure the order of fields in the XML matches the expected order
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: commonmeta-py
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.130
|
4
4
|
Summary: Library for conversions to/from the Commonmeta scholarly metadata format
|
5
5
|
Project-URL: Homepage, https://python.commonmeta.org
|
6
6
|
Project-URL: Repository, https://github.com/front-matter/commonmeta-py
|
@@ -1,4 +1,4 @@
|
|
1
|
-
commonmeta/__init__.py,sha256=
|
1
|
+
commonmeta/__init__.py,sha256=ci6mq-jGiKPBhqnoMsWIMl7Gh8mtLad1qay_j-kJkIg,2118
|
2
2
|
commonmeta/api_utils.py,sha256=P8LMHHYiF4OTi97_5k4KstcBreooMkOAKZ4ebxsAv4o,2691
|
3
3
|
commonmeta/author_utils.py,sha256=3lYW5s1rOUWNTKs1FP6XLfEUY3yCLOe_3L_VdJTDMp0,8585
|
4
4
|
commonmeta/base_utils.py,sha256=-MGy9q2uTiJEkPWQUYOJMdq-3tRpNnvBwlLjvllQ5g8,11164
|
@@ -77,14 +77,14 @@ commonmeta/writers/__init__.py,sha256=47-snms6xBHkoEXKYV1DBtH1npAtlVtvY29Z4Zr45q
|
|
77
77
|
commonmeta/writers/bibtex_writer.py,sha256=doAdyl1NEp60mPkHPo3GMH8B-HA6MzLAdlyNsIecTzU,4972
|
78
78
|
commonmeta/writers/citation_writer.py,sha256=qs_4X3BjrSqHexmJFPvPDTp0mRIqzb0F70_Wuc7S9x0,2343
|
79
79
|
commonmeta/writers/commonmeta_writer.py,sha256=QpfyhG__7o_XpsOTCPWxGymO7YKwZi2LQh8Zic44bdc,1365
|
80
|
-
commonmeta/writers/crossref_xml_writer.py,sha256=
|
80
|
+
commonmeta/writers/crossref_xml_writer.py,sha256=FHKaRa44XA13gFQm2TL-3IcVJtq0Px2xB4FBbxJ6-bA,34045
|
81
81
|
commonmeta/writers/csl_writer.py,sha256=4gDYs1EzK4_L2UIRTfs25wgHmYRwdRP2zmfxF9387oU,2779
|
82
82
|
commonmeta/writers/datacite_writer.py,sha256=bcinpwhq7XnVthKHH8-sdXA34dSlvFH4ImYH768iaQU,6428
|
83
83
|
commonmeta/writers/inveniordm_writer.py,sha256=tiuq9JEkz02l615yVe9wUcJQqiIPJLUqNDyofEE8Aus,26726
|
84
84
|
commonmeta/writers/ris_writer.py,sha256=3SdyEvMRaPRP1SV1MB-MXBlunE7x6og7RF1zuWtetPc,2094
|
85
85
|
commonmeta/writers/schema_org_writer.py,sha256=s18_x0ReXwAGBoEAwp2q-HCgFQ-h5qRg6JyAlqCoSFE,5871
|
86
|
-
commonmeta_py-0.
|
87
|
-
commonmeta_py-0.
|
88
|
-
commonmeta_py-0.
|
89
|
-
commonmeta_py-0.
|
90
|
-
commonmeta_py-0.
|
86
|
+
commonmeta_py-0.130.dist-info/METADATA,sha256=qpEThp8osDpxloi7SyzhUCk6IFA95TNhRcb9t7aLiBw,7656
|
87
|
+
commonmeta_py-0.130.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
88
|
+
commonmeta_py-0.130.dist-info/entry_points.txt,sha256=U4w4BoRuS3rN5t5Y-uYSyOeU5Lh_VRVMS9OIDzIgw4w,50
|
89
|
+
commonmeta_py-0.130.dist-info/licenses/LICENSE,sha256=wsIvxF9Q9GC9vA_s79zTWP3BkXJdfUNRmALlU8GbW1s,1074
|
90
|
+
commonmeta_py-0.130.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|