From bacef780f97d255ac8a445ad5d2c2c39eca2bf14 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 3 May 2024 09:00:16 -0400 Subject: [PATCH] [DATALAD RUNCMD] Update also target records to have email in them === Do not change lines below === { "chain": [], "cmd": "sed -i -e 's/^\\( *\\)\\(\"name\": \"Tests, Dandi-Cli\",\\)/\\1\\2\\n\\1\"email\": \"nemo@example.com\",/g' dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.json dandi/cli/tests/data/update_dandiset_from_doi/elife.json dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.json dandi/cli/tests/data/update_dandiset_from_doi/nature.json dandi/cli/tests/data/update_dandiset_from_doi/neuron.json", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.json | 1 + dandi/cli/tests/data/update_dandiset_from_doi/elife.json | 1 + dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.json | 1 + dandi/cli/tests/data/update_dandiset_from_doi/nature.json | 1 + dandi/cli/tests/data/update_dandiset_from_doi/neuron.json | 1 + 5 files changed, 5 insertions(+) diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.json b/dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.json index 6fe83f612..ac14fb425 100644 --- a/dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.json +++ b/dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.json @@ -20,6 +20,7 @@ "contributor": [ { "name": "Tests, Dandi-Cli", + "email": "nemo@example.com", "roleName": [ "dcite:Author", "dcite:ContactPerson" diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/elife.json b/dandi/cli/tests/data/update_dandiset_from_doi/elife.json index 54dbf581f..8d8a5e783 100644 --- a/dandi/cli/tests/data/update_dandiset_from_doi/elife.json +++ b/dandi/cli/tests/data/update_dandiset_from_doi/elife.json @@ -20,6 +20,7 @@ "contributor": [ { "name": "Tests, Dandi-Cli", + "email": "nemo@example.com", "roleName": [ "dcite:Author", "dcite:ContactPerson" diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.json b/dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.json index 14f081ebd..729e185f4 100644 --- a/dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.json +++ b/dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.json @@ -20,6 +20,7 @@ "contributor": [ { "name": "Tests, Dandi-Cli", + "email": "nemo@example.com", "roleName": [ "dcite:Author", "dcite:ContactPerson" diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/nature.json b/dandi/cli/tests/data/update_dandiset_from_doi/nature.json index ce5449d09..11461684e 100644 --- a/dandi/cli/tests/data/update_dandiset_from_doi/nature.json +++ b/dandi/cli/tests/data/update_dandiset_from_doi/nature.json @@ -20,6 +20,7 @@ "contributor": [ { "name": "Tests, Dandi-Cli", + "email": "nemo@example.com", "roleName": [ "dcite:Author", "dcite:ContactPerson" diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/neuron.json b/dandi/cli/tests/data/update_dandiset_from_doi/neuron.json index 82a81a7fa..fe2874f42 100644 --- a/dandi/cli/tests/data/update_dandiset_from_doi/neuron.json +++ b/dandi/cli/tests/data/update_dandiset_from_doi/neuron.json @@ -20,6 +20,7 @@ "contributor": [ { "name": "Tests, Dandi-Cli", + "email": "nemo@example.com", "roleName": [ "dcite:Author", "dcite:ContactPerson"