mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2018-04-04
This commit is contained in:
content/posts
docs
2015-11
2015-12
2016-01
2016-02
2016-03
2016-04
2016-05
2016-06
2016-07
2016-08
2016-09
2016-10
2016-11
2016-12
2017-01
2017-02
2017-03
2017-04
2017-05
2017-06
2017-07
2017-08
2017-09
2017-10
2017-11
2017-12
2018-01
2018-02
2018-03
2018-04
404.htmlcategories
cgiar-library-migration
index.htmlpage
posts
sitemap.xmltags
@ -127,7 +127,7 @@ if(isBlank(value), "Hernan Ceballos: 0000-0002-8744-7918", value + "||Hernan Ceb
|
||||
|
||||
- One thing that bothers me is that this won't honor author order
|
||||
- It might be better to do batches of these in PostgreSQL with a script that takes the `place` column of an author into account when setting the `cg.creator.id`
|
||||
- I wrote a Python script to read the author names and ORCID identifiers from CSV and create matching `cg.creator.id` fieldsa: [add-orcid-identifiers-csv.py ](https://gist.github.com/alanorth/a49d85cd9c5dea89cddbe809813a7050)
|
||||
- I wrote a Python script to read the author names and ORCID identifiers from CSV and create matching `cg.creator.id` fields: [add-orcid-identifiers-csv.py ](https://gist.github.com/alanorth/a49d85cd9c5dea89cddbe809813a7050)
|
||||
- The CSV should have two columns: author name and ORCID identifier:
|
||||
|
||||
```
|
||||
|
@ -25,3 +25,34 @@ Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" jav
|
||||
- For some reason Listings and Reports is not giving any results for any queries now...
|
||||
- I posted a message on Yammer to ask if people are using the Duplicate Check step from the Metadata Quality Module
|
||||
- Help Lili Szilagyi with a question about statistics on some CCAFS items
|
||||
|
||||
## 2018-04-04
|
||||
|
||||
- Peter noticed that there were still some old CRP names on CGSpace, because I hadn't forced the Discovery index to be updated after I fixed the others last week
|
||||
- For completeness I re-ran the CRP corrections on CGSpace:
|
||||
|
||||
```
|
||||
$ ./fix-metadata-values.py -i /tmp/Correct-21-CRPs-2018-03-16.csv -f cg.contributor.crp -t correct -m 230 -db dspace -u dspace -p 'fuuu'
|
||||
Fixed 1 occurences of: AGRICULTURE FOR NUTRITION AND HEALTH
|
||||
```
|
||||
|
||||
- Then started a full Discovery index:
|
||||
|
||||
```
|
||||
$ export JAVA_OPTS='-Dfile.encoding=UTF-8 -Xmx1024m'
|
||||
$ time schedtool -D -e ionice -c2 -n7 nice -n19 dspace index-discovery -b
|
||||
```
|
||||
|
||||
- Elizabeth from CIAT emailed to ask if I could help her by adding ORCID identifiers to all of Joseph Tohme's items
|
||||
- I used my [add-orcid-identifiers-csv.py](https://gist.githubusercontent.com/alanorth/a49d85cd9c5dea89cddbe809813a7050/raw/f67b6e45a9a940732882ae4bb26897a9b245ef31/add-orcid-identifiers-csv.py) script:
|
||||
|
||||
```
|
||||
$ ./add-orcid-identifiers-csv.py -i /tmp/jtohme-2018-04-04.csv -db dspace -u dspace -p 'fuuu'
|
||||
```
|
||||
|
||||
- The CSV format of `jtohme-2018-04-04.csv` was:
|
||||
|
||||
```csv
|
||||
dc.contributor.author,cg.creator.id
|
||||
"Tohme, Joseph M.",Joe Tohme: 0000-0003-2765-7101
|
||||
```
|
||||
|
Reference in New Issue
Block a user