mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes for 2019-03-26
This commit is contained in:
@ -864,5 +864,12 @@ $ psql -c 'select * from pg_stat_activity' | grep -o -E '(dspaceWeb|dspaceApi|ds
|
||||
```
|
||||
|
||||
- Looking closer I see they are all idle... so at least I know the load isn't coming from some background nightly task or something
|
||||
- Make a minor edit to my `agrovoc-lookup.py` script to match subject terms with parentheses like `COCOA (PLANT)`
|
||||
- Test 89 corrections and 79 deletions for AGROVOC subject terms from the ones I cleaned up in the last week
|
||||
|
||||
```
|
||||
$ ./fix-metadata-values.py -i /tmp/2019-03-26-AGROVOC-89-corrections.csv -db dspace -u dspace -p 'fuuu' -f dc.subject -m 57 -t correct -d -n
|
||||
$ ./delete-metadata-values.py -i /tmp/2019-03-26-AGROVOC-79-deletions.csv -db dspace -u dspace -p 'fuuu' -m 57 -f dc.subject -d -n
|
||||
```
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user