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