Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@
],
"version": "draft",
"@context": "https://raw.githubusercontent.com/dandi/schema/master/releases/0.6.4/context.json",
"citation": "Aguillon-Rodriguez, Valeria; Angelaki, Dora E.; Bayer, Hannah M.; Bonacchi, Niccol\u00f2; Carandini, Matteo; Cazettes, Fanny; Chapuis, Gaelle A.; Churchland, Anne K.; Dan, Yang; Dewitt, Eric E. J.; Faulkner, Mayo; Forrest, Hamish; Haetzel, Laura M.; Hausser, Michael; Hofer, Sonja B.; Hu, Fei; Khanal, Anup; Krasniak, Christopher S.; Laranjeira, In\u00eas; Mainen, Zachary F.; Meijer, Guido T.; Miska, Nathaniel J.; Mrsic-Flogel, Thomas D.; Murakami, Masayoshi; Noel, Jean-Paul; Pan-Vazquez, Alejandro; Rossant, Cyrille; Sanders, Joshua I.; Socha, Karolina Z.; Terry, Rebecca; Urai, Anne E.; Vergara, Hernando M.; Wells, Miles J.; Wilson, Christian J.; Witten, Ilana B.; Wool, Lauren E.; Zador, Anthony (2023) Standardized and reproducible measurement of decision-making in mice (Version draft) [Data set]. DANDI Archive. http://localhost:8085/dandiset/000001/draft",
"citation": "Admin, Test; Aguillon-Rodriguez, Valeria; Angelaki, Dora E.; Bayer, Hannah M.; Bonacchi, Niccol\u00f2; Carandini, Matteo; Cazettes, Fanny; Chapuis, Gaelle A.; Churchland, Anne K.; Dan, Yang; Dewitt, Eric E. J.; Faulkner, Mayo; Forrest, Hamish; Haetzel, Laura M.; Hausser, Michael; Hofer, Sonja B.; Hu, Fei; Khanal, Anup; Krasniak, Christopher S.; Laranjeira, In\u00eas; Mainen, Zachary F.; Meijer, Guido T.; Miska, Nathaniel J.; Mrsic-Flogel, Thomas D.; Murakami, Masayoshi; Noel, Jean-Paul; Pan-Vazquez, Alejandro; Rossant, Cyrille; Sanders, Joshua I.; Socha, Karolina Z.; Terry, Rebecca; Urai, Anne E.; Vergara, Hernando M.; Wells, Miles J.; Wilson, Christian J.; Witten, Ilana B.; Wool, Lauren E.; Zador, Anthony (2023) Standardized and reproducible measurement of decision-making in mice (Version draft) [Data set]. DANDI Archive. http://localhost:8085/dandiset/000001/draft",
"schemaKey": "Dandiset",
"identifier": "DANDI:000001",
"repository": "http://localhost:8085",
"contributor": [
{
"affiliation": [],
"email": "admin@nil.nil",
"includeInCitation": true,
"name": "Admin, Test",
"roleName": [
"dcite:ContactPerson"
],
"schemaKey": "Person"
},
{
"name": "Tests, DANDI-Cli",
"email": "nemo@example.com",
Expand Down
12 changes: 11 additions & 1 deletion dandi/cli/tests/data/update_dandiset_from_doi/elife.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@
],
"version": "draft",
"@context": "https://raw.githubusercontent.com/dandi/schema/master/releases/0.6.4/context.json",
"citation": "Chowdhury, Raeed H; Glaser, Joshua I; Miller, Lee E (2023) Area 2 of primary somatosensory cortex encodes kinematics of the whole arm (Version draft) [Data set]. DANDI Archive. http://localhost:8085/dandiset/000004/draft",
"citation": "Admin, Test; Chowdhury, Raeed H; Glaser, Joshua I; Miller, Lee E (2023) Area 2 of primary somatosensory cortex encodes kinematics of the whole arm (Version draft) [Data set]. DANDI Archive. http://localhost:8085/dandiset/000004/draft",
"schemaKey": "Dandiset",
"identifier": "DANDI:000004",
"repository": "http://localhost:8085",
"contributor": [
{
"affiliation": [],
"email": "admin@nil.nil",
"includeInCitation": true,
"name": "Admin, Test",
"roleName": [
"dcite:ContactPerson"
],
"schemaKey": "Person"
},
{
"name": "Tests, DANDI-Cli",
"email": "nemo@example.com",
Expand Down
12 changes: 11 additions & 1 deletion dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@
],
"version": "draft",
"@context": "https://raw.githubusercontent.com/dandi/schema/master/releases/0.6.4/context.json",
"citation": "Ito, Makoto; Doya, Kenji (2023) Validation of Decision-Making Models and Analysis of Decision Variables in the Rat Basal Ganglia (Version draft) [Data set]. DANDI Archive. http://localhost:8085/dandiset/000002/draft",
"citation": "Admin, Test; Ito, Makoto; Doya, Kenji (2023) Validation of Decision-Making Models and Analysis of Decision Variables in the Rat Basal Ganglia (Version draft) [Data set]. DANDI Archive. http://localhost:8085/dandiset/000002/draft",
"schemaKey": "Dandiset",
"identifier": "DANDI:000002",
"repository": "http://localhost:8085",
"contributor": [
{
"affiliation": [],
"email": "admin@nil.nil",
"includeInCitation": true,
"name": "Admin, Test",
"roleName": [
"dcite:ContactPerson"
],
"schemaKey": "Person"
},
{
"name": "Tests, DANDI-Cli",
"email": "nemo@example.com",
Expand Down
12 changes: 11 additions & 1 deletion dandi/cli/tests/data/update_dandiset_from_doi/nature.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@
],
"version": "draft",
"@context": "https://raw.githubusercontent.com/dandi/schema/master/releases/0.6.4/context.json",
"citation": "Sit, Kevin K.; Goard, Michael J. (2023) Coregistration of heading to visual cues in retrosplenial cortex (Version draft) [Data set]. DANDI Archive. http://localhost:8085/dandiset/000005/draft",
"citation": "Admin, Test; Sit, Kevin K.; Goard, Michael J. (2023) Coregistration of heading to visual cues in retrosplenial cortex (Version draft) [Data set]. DANDI Archive. http://localhost:8085/dandiset/000005/draft",
"schemaKey": "Dandiset",
"identifier": "DANDI:000005",
"repository": "http://localhost:8085",
"contributor": [
{
"affiliation": [],
"email": "admin@nil.nil",
"includeInCitation": true,
"name": "Admin, Test",
"roleName": [
"dcite:ContactPerson"
],
"schemaKey": "Person"
},
{
"name": "Tests, DANDI-Cli",
"email": "nemo@example.com",
Expand Down
12 changes: 11 additions & 1 deletion dandi/cli/tests/data/update_dandiset_from_doi/neuron.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@
],
"version": "draft",
"@context": "https://raw.githubusercontent.com/dandi/schema/master/releases/0.6.4/context.json",
"citation": "Tingley, David; Buzs\u00e1ki, Gy\u00f6rgy (2023) Routing of Hippocampal Ripples to Subcortical Structures via the Lateral Septum (Version draft) [Data set]. DANDI Archive. http://localhost:8085/dandiset/000003/draft",
"citation": "Admin, Test; Tingley, David; Buzs\u00e1ki, Gy\u00f6rgy (2023) Routing of Hippocampal Ripples to Subcortical Structures via the Lateral Septum (Version draft) [Data set]. DANDI Archive. http://localhost:8085/dandiset/000003/draft",
"schemaKey": "Dandiset",
"identifier": "DANDI:000003",
"repository": "http://localhost:8085",
"contributor": [
{
"affiliation": [],
"email": "admin@nil.nil",
"includeInCitation": true,
"name": "Admin, Test",
"roleName": [
"dcite:ContactPerson"
],
"schemaKey": "Person"
},
{
"name": "Tests, DANDI-Cli",
"email": "nemo@example.com",
Expand Down
12 changes: 6 additions & 6 deletions dandi/tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,12 +434,16 @@ def docker_compose_setup() -> Iterator[dict[str, str]]:
"--rm",
"-e",
"DJANGO_SUPERUSER_PASSWORD=nsNc48DBiS",
"-e",
"DJANGO_SUPERUSER_EMAIL=admin@nil.nil",
"-e",
"DJANGO_SUPERUSER_FIRST_NAME=Test",
"-e",
"DJANGO_SUPERUSER_LAST_NAME=Admin",
"django",
"./manage.py",
"createsuperuser",
"--no-input",
"--email",
"admin@nil.nil",
],
cwd=str(LOCAL_DOCKER_DIR),
env=env,
Expand Down Expand Up @@ -578,10 +582,6 @@ def mkdandiset(self, name: str, embargo: bool = False) -> SampleDandiset:
{
"description": "A test Dandiset",
"license": ["spdx:CC0-1.0"],
# The contributor needs to be given explicitly here or else
# it'll be set based on the user account. For the Docker
# Compose setup, that would mean basing it on the admin user,
# whose name doesn't validate under dandischema.
"contributor": [
{
"schemaKey": "Person",
Expand Down
Loading