mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2019-07-25
This commit is contained in:
@ -302,7 +302,7 @@ $ dspace user --add --givenname Lionelle --surname Samnick --email blah@blah.com
|
||||
```
|
||||
|
||||
- I added her as a submitter to [CTA ISF Pro-Agro series](https://cgspace.cgiar.org/handle/10568/74536)
|
||||
- Start looking at 1492 records for the Bioversity batch import
|
||||
- Start looking at 1429 records for the Bioversity batch import
|
||||
- Multiple authors should be specified with multi-value separatator (||) instead of ;
|
||||
- We don't use "(eds)" as an author
|
||||
- Same issue with dc.publisher using ";" for multiple values
|
||||
@ -334,4 +334,42 @@ $ dspace user --add --givenname Lionelle --surname Samnick --email blah@blah.com
|
||||
- I left a note saying that DSpace is technically limited to a flat schema so we use `cg.coverage.country: Kenya`
|
||||
- Do a little more work on CG Core v2 in the input forms
|
||||
|
||||
## 2019-07-25
|
||||
|
||||
- Generate a list of the ORCID identifiers that we added to CGSpace in 2019 for Sara Jani at ICARDA
|
||||
- Bioversity sent a new file for their migration to CGSpace
|
||||
- There is always a blank row and blank column at the end
|
||||
- One invalid type (Brie)
|
||||
- 824 items with leading/trailing spaces in dc.identifier.citation
|
||||
- 175 items with a trailing comma in dc.identifier.citation (using custom text facet with GREL `value.endsWith(',').toString()`)
|
||||
- Fix them with GREL transform: `value.replace(/,$/, '')`
|
||||
- A few strange publishers after splitting multi-value cells, like "(Belgium)"
|
||||
- Deleted four ISSNs that are actually ISBNs and are already present in the ISBN field
|
||||
- Eight invalid ISBNs
|
||||
- Convert all DOIs to "https://doi.org" format and fix one invalid DOI
|
||||
- Fix a handful of incorrect CRPs that seem to have been split on comma ","
|
||||
- Lots of strange values in cg.link.reference, and I normalized all DOIs to https://doi.org format
|
||||
- There are lots of invalid links here, like "36" and "recordlink:publications:2606" and "t3://record?identifier=publications&uid=2606"
|
||||
- Also there are hundreds of items that use the same value for cg.link.reference AND cg.link.dataurl
|
||||
- Use https:// for all Bioversity links (reference, data url, permalink)
|
||||
|
||||
- I might be able to use [isbnlib](https://pypi.org/project/isbnlib/) to validate ISBNs in Python:
|
||||
|
||||
```
|
||||
if isbnlib.is_isbn10('9966-955-07-0') or isbnlib.is_isbn13('9966-955-07-0'):
|
||||
print("Yes")
|
||||
else:
|
||||
print("No")
|
||||
```
|
||||
|
||||
- Or with [python-stdnum](https://github.com/arthurdejong/python-stdnum):
|
||||
|
||||
```
|
||||
from stdnum import isbn
|
||||
from stdnum import issn
|
||||
|
||||
isbn.validate('978-92-9043-389-7')
|
||||
issn.validate('1020-3362')
|
||||
```
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user