mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2024-11-29 09:08:26 +01:00
Compare commits
No commits in common. "81069259ba9d200a54d0c57c9ce1eecdfcfc1945" and "22b359c8a8c74e0d8e39c870816a9ebed8c8896c" have entirely different histories.
81069259ba
...
22b359c8a8
@ -10,8 +10,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Updated
|
### Updated
|
||||||
- Python dependencies
|
- Python dependencies
|
||||||
- Regular expression to match all citation fields (dc.identifier.citation as
|
|
||||||
well as dcterms.bibliographicCitation)
|
|
||||||
|
|
||||||
## [0.4.7] - 2021-03-17
|
## [0.4.7] - 2021-03-17
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -52,7 +52,7 @@ def correct_language(row):
|
|||||||
sample_strings.append(row[label])
|
sample_strings.append(row[label])
|
||||||
|
|
||||||
# Extract citation if it is present
|
# Extract citation if it is present
|
||||||
match = re.match(r"^.*?[cC]itation.*$", label)
|
match = re.match(r"^.*?citation.*$", label)
|
||||||
if match is not None:
|
if match is not None:
|
||||||
sample_strings.append(row[label])
|
sample_strings.append(row[label])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user