From 63ed2d91bb472d3a2c2881a726c9cb051f771b28 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 26 Mar 2019 18:25:05 +0200 Subject: [PATCH] Update notes for 2019-03-26 --- content/posts/2019-03.md | 7 +++++++ docs/2019-03/index.html | 12 +++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/content/posts/2019-03.md b/content/posts/2019-03.md index 867c918b4..febbe0319 100644 --- a/content/posts/2019-03.md +++ b/content/posts/2019-03.md @@ -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 +``` diff --git a/docs/2019-03/index.html b/docs/2019-03/index.html index 6da6130ca..90f7761e2 100644 --- a/docs/2019-03/index.html +++ b/docs/2019-03/index.html @@ -25,7 +25,7 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca - + @@ -55,9 +55,9 @@ I think I will need to ask Udana to re-copy and paste the abstracts with more ca "@type": "BlogPosting", "headline": "March, 2019", "url": "https://alanorth.github.io/cgspace-notes/2019-03/", - "wordCount": "5435", + "wordCount": "5506", "datePublished": "2019-03-01T12:16:30+01:00", - "dateModified": "2019-03-26T08:55:54+02:00", + "dateModified": "2019-03-26T09:09:19+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -1144,8 +1144,14 @@ $ grep -o -E 'session_id=[A-Z0-9]{32}' dspace.log.2019-03-22 | sort -u | wc -l +
$ ./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
+
+ diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 79f5224f1..bf11ca38d 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2019-03/ - 2019-03-26T08:55:54+02:00 + 2019-03-26T09:09:19+02:00 @@ -214,7 +214,7 @@ https://alanorth.github.io/cgspace-notes/ - 2019-03-26T08:55:54+02:00 + 2019-03-26T09:09:19+02:00 0 @@ -225,7 +225,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-03-26T08:55:54+02:00 + 2019-03-26T09:09:19+02:00 0 @@ -237,13 +237,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2019-03-26T08:55:54+02:00 + 2019-03-26T09:09:19+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-03-26T08:55:54+02:00 + 2019-03-26T09:09:19+02:00 0