Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
KianBadie committed Feb 18, 2022
2 parents 1f0927e + 81935b7 commit 279b7f3
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 24 deletions.
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,18 @@ python _build.py
```

<u>This will delete the `site/` directory in the this script's working directory</u>.
Videos are will not be included in the site build by default and will only be included
in the generated site if there exists a `videos` directory in this script's working directory.
Supplemental files (video preview images and pdb files) are required for the
Videos are will not be included in the site build and need to be moved to a `videos` directory
in 'site' directory.
Supplemental files (video preview images, narration, and pdb files) are required for the
site to function completely and are available to
[download from CaltechDATA](https://doi.org/10.22002/D1.2100)
[download from CaltechDATA](https://doi.org/10.22002/D1.20040)


Offline versions of the cell atlas are automatically generated in the
`cell_atlas_offline` and `cell_atlas_offline_lite` directories. In order to
package these for release, you need to copy in the full resolution or 480p
videos into a directory called `videos`. You will also need to copy the
'stillimages' folder of preview images for the
movies to the 'img' folder. Then zip up the cell atlas using the
command `zip -rX cell_atlas_offline_lite.zip *`
`cell_atlas_offline` and `cell_atlas_offline_lite` directories, assuming you
have "video", "videos-480p", "narration", and "stillimages" directories present.
In order to zip up the offline version, navigate to `cell_atlas_offline` and `cell_atlas_offline_lite` directories
and use the command `zip -rX cell_atlas_offline_lite.zip *`

Getting help
------------
Expand All @@ -61,9 +59,9 @@ You can submit change requests by submitting a pull request through GitHub.
License
-------

Software produced by the Caltech Library is Copyright (C) 2020, Caltech. This software is freely distributed under a BSD/MIT type license. Please see the [LICENSE](LICENSE) file for more information.
Software produced by the Caltech Library is Copyright (C) 2022, Caltech. This software is freely distributed under a BSD/MIT type license. Please see the [LICENSE](LICENSE) file for more information.

The book text is (C) 2020, Caltech.
The book text is (C) 2022, Caltech.

Authors and Acknowledgments
---------------------------
Expand Down
12 changes: 6 additions & 6 deletions cd_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"descriptions": [
{
"descriptionType": "Abstract",
"description": "The offline version 2.0 of \"The Atlas of Bacterial & Archaeal Cell Structure\" by Catherine M. Oikonomou & Grant J. Jensen"
"description": "The offline version 2.1 of \"The Atlas of Bacterial & Archaeal Cell Structure\" by Catherine M. Oikonomou & Grant J. Jensen"
}
],
"relatedIdentifiers": [
{
"relatedIdentifier":
"https://github.com/caltechlibrary/cell-atlas/releases/tag/v2.0",
"https://github.com/caltechlibrary/cell-atlas/releases/tag/v2.1",
"relationType": "IsDerivedFrom",
"relatedIdentifierType": "URL"
}
Expand All @@ -33,19 +33,19 @@
"subject": "Jensen Lab"
}
],
"version": "v2.0",
"version": "v2.1",
"titles": [
{
"title": "Atlas of Bacterial and Archaeal Cell Structure - Offline Version 2.0"
"title": "Atlas of Bacterial and Archaeal Cell Structure - Offline Version 2.1"
}
],
"dates": [
{
"date": "2021-09-03",
"date": "2022-02-18",
"dateType": "Issued"
}
],
"publicationYear": "2021",
"publicationYear": "2022",
"publisher": "CaltechDATA",
"creators": [
{
Expand Down
8 changes: 4 additions & 4 deletions cd_supplemental_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"descriptions": [
{
"descriptionType": "Abstract",
"description": "Supplemental materials (pdb files and images) for version 2.0 of \"The Atlas of Bacterial & Archaeal Cell Structure\" by Catherine M. Oikonomou & Grant J. Jensen"
"description": "Supplemental materials (pdb files, images, and narration) for version 2.1 of \"The Atlas of Bacterial & Archaeal Cell Structure\" by Catherine M. Oikonomou & Grant J. Jensen"
}
],
"relatedIdentifiers": [
{
"relatedIdentifier":
"https://github.com/caltechlibrary/cell-atlas/releases/tag/v2.0",
"https://github.com/caltechlibrary/cell-atlas/releases/tag/v2.1",
"relationType": "IsSupplementTo",
"relatedIdentifierType": "URL"
}
Expand All @@ -33,15 +33,15 @@
"subject": "Jensen Lab"
}
],
"version": "v2.0",
"version": "v2.1",
"titles": [
{
"title": "Supplemental Materials for the Atlas of Bacterial and Archaeal Cell Structure"
}
],
"dates": [
{
"date": "2021-08-30",
"date": "2022-02-18",
"dateType": "Issued"
}
],
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"codeRepository": "https://github.com/caltechlibrary/cell-atlas",
"issueTracker": "https://github.com/caltechlibrary/cell-atlas/issues",
"license": "https://data.caltech.edu/license",
"version": "2.0.0",
"version": "2.1.0",
"author": [
{
"@type": "Person",
Expand Down
2 changes: 1 addition & 1 deletion upload_supplement.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

production = True

response = caltechdata_write(metadata, token, ['stillimages.zip','pdbs.zip'], production)
response = caltechdata_write(metadata, token, ['narration.zip','stillimages.zip','pdbs.zip'], production)
print(response)

0 comments on commit 279b7f3

Please sign in to comment.