Skip to content

Commit c39df86

Browse files
Merge pull request #238 from Exabyte-io/chore/SOF-6394
chore/SOF-6394
2 parents ced752d + 3f572bf commit c39df86

File tree

21 files changed

+447
-144
lines changed

21 files changed

+447
-144
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ oauth-credentials.json
1010
service-account-key.json
1111
*.py[cod]
1212

13+
# ignore media files in scripts folder
14+
scripts/*.mp3
15+
scripts/*.mp4

INTERNAL.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,36 @@
55
Follow the below instructions to upload/update a tutorial video:
66

77
1. Create a metadata file similar to the one in [here](lang/en/docs/tutorials/dft/electronic/band-gap.json).
8+
9+
> Note: For each step, the time elapsed between `startTime` and `endTime` should approximately be the duration of the spoken sentence.
10+
> I.e. this is almost impossible to get right on the first try and will need further refinement.
811
9-
2. Make sure to remove `youTubeId`. This field is automatically added by the [video manager](video-manager.py) script once the video is uploaded.
12+
3. Make sure to remove `youTubeId`. This field is automatically added by the [video manager](video-manager.py) script once the video is uploaded.
1013

11-
3. In metadata file, `descriptionLinks` is a list of links which are added to video description. See [description template](video-description.jinja) for more details.
14+
4. In metadata file, `descriptionLinks` is a list of links which are added to video description. See [description template](video-description.jinja) for more details.
1215

13-
4. Run the below command to add voice to the video:
16+
5. Run the below command to add voice to the video:
1417

15-
```bash
16-
python video-manager.py voiceover --file PATH_TO_ORIGINAL_VIDEO --metadata PATH_TO_METADATA --audio PATH_TO_SAVE_AUDIO --output PATH_TO_SAVE_NEW_VIDEO
17-
```
18+
```bash
19+
python video-manager.py voiceover --file PATH_TO_ORIGINAL_VIDEO --metadata PATH_TO_METADATA --audio PATH_TO_SAVE_AUDIO --output PATH_TO_SAVE_NEW_VIDEO
20+
```
21+
whereby `PATH_TO_SAVE_AUDIO` and `PATH_TO_SAVE_NEW_VIDEO` should have the file extension `.mp3` and `.mp4`, respectively.
1822

1923
5. Retry step 4 with adjusted `youTubeCaptions` data until the optimal outcome is achieved.
2024

2125
6. Before uploading, make sure that the timings of the `youTubeCaptions` sentences in the metadata file match exactly the duration of their pronunciations in the voiceover. This ensures that the subtitles will be synced correctly to the voice in the final online video version.
2226

2327
7. Run the below command to upload/update the video once metadata is ready:
2428

25-
```bash
26-
python video-manager.py upload --file PATH_TO_VIDEO --metadata PATH_TO_METADATA
27-
```
29+
```bash
30+
python video-manager.py upload --file PATH_TO_VIDEO --metadata PATH_TO_METADATA
31+
```
2832

2933
8. The video privacy status is set to `unlisted` by default. Pass privacy status as below to override it:
3034

31-
```bash
32-
python video-manager.py update --file PATH_TO_VIDEO --metadata PATH_TO_METADATA --privacyStatus public
33-
```
35+
```bash
36+
python video-manager.py update --file PATH_TO_VIDEO --metadata PATH_TO_METADATA --privacyStatus public
37+
```
3438

3539
9. Commit the new changes to metadata file such as `youTubeId` and push.
3640

data/esse

Submodule esse updated from 7caf56c to 1afead4
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

lang/en/docs/materials/classification/crystalline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The complete **crystal structure** [^1] of a **crystalline material** is obtained when a [set of atoms](../../properties-directory/structural/basis.md), known as the **basis atoms** or **repeating unit**, are convolved (combined) with each one of the lattice points of the underlying [Bravais lattice](../../properties-directory/structural/lattice.md).
44

5-
This results in a crystal structure with **long-range order**, which gives its corresponding [space group](../../properties-directory/structural/space-group.md) symmetry assignment.
5+
This results in a crystal structure with **long-range order**, which gives its corresponding [space group](../../properties-directory/structural/symmetry.md#space-group) symmetry assignment.
66

77
## Visualization
88

lang/en/docs/materials/classification/non-periodic.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Non-Periodic Materials
22

3-
The complete **structure** of a **non-periodic chemcial system** is obtained from a [set of atoms](../../properties-directory/structural/non-periodic-basis.md), known as the **basis atoms**, that describe a set of non-repeating atoms that are held together by covalent or non-covalent interactions.
3+
The complete **structure** of a **non-periodic chemical system** is obtained from a
4+
[set of atoms](../../properties-directory/structural/basis.md), known as the **basis atoms**, that describe
5+
a set of non-repeating atoms that are held together by covalent or non-covalent interactions.
46

5-
This results in a structure with a specific geometry which gives it a defined [point-group](../../properties-directory/structural/point-group.md)[^1] symmetry assignment.
7+
This results in a structure with a specific geometry which gives it a defined
8+
[point-group](../../properties-directory/structural/symmetry.md#point-group)[^1] symmetry assignment.
69

710
Examples of **non-periodic structures** include **molecules**[^2], like **methane**[^3].
811

lang/en/docs/properties-directory/overview.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@ Below we provide a list of Materials properties that can be [extracted](../prope
1414

1515
### Scalar
1616

17-
| Property | Overview |
18-
|:--------------------------------------------------- |:------------------------------------------------|
19-
| [Total Energy](scalar/total-energy.md) | The ground state energy (free energy) of the system |
20-
| [Fermi Energy](scalar/fermi-energy.md) | The highest energy level occupied by electrons in a system |
21-
| [Surface Energy](scalar/surface-energy.md) | The energy of a crystal surface |
22-
| [Formation Energy](scalar/formation-energy.md) | The energy required to create defects |
23-
| [Reaction Energy Barrier](scalar/reaction-energy-barrier.md) | The activation energy required by the reactants to undergo a chemical reaction |
24-
| [Pressure](scalar/pressure.md) | Scalar average pressure |
25-
| [Zero Point Energy](scalar/zero-point-energy.md) | Energy of the lowest vibrational level wrt to vacuum |
26-
| [Total Energy Contributions](scalar/total-energy.md#total-energy-contributions) | Ewald, Exchange correlation and Hartree contributions to the total energy |
27-
| [Total Force](scalar/total-force.md) | Sum of the atomic forces |
17+
| Property | Overview |
18+
|:--------------------------------------------------------------------------------|:-------------------------------------------------------------------------------|
19+
| [Total Energy](scalar/total-energy.md) | The ground state energy (free energy) of the system |
20+
| [Fermi Energy](scalar/fermi-energy.md) | The highest energy level occupied by electrons in a system |
21+
| [Surface Energy](scalar/surface-energy.md) | The energy of a crystal surface |
22+
| [Formation Energy](scalar/formation-energy.md) | The energy required to create defects |
23+
| [Reaction Energy Barrier](scalar/reaction-energy-barrier.md) | The activation energy required by the reactants to undergo a chemical reaction |
24+
| [Pressure](scalar/pressure.md) | Scalar average pressure |
25+
| [Zero Point Energy](scalar/zero-point-energy.md) | Energy of the lowest vibrational level wrt to vacuum |
26+
| [Total Energy Contributions](scalar/total-energy.md#total-energy-contributions) | Ewald, Exchange correlation and Hartree contributions to the total energy |
27+
| [Total Force](scalar/total-force.md) | Sum of the atomic forces |
28+
| [Valence Band Offset](scalar/valence-band-offset.md) | Relative position of the valence band across an interface |
2829

2930
### Non-Scalar
3031

@@ -42,16 +43,16 @@ Below we provide a list of Materials properties that can be [extracted](../prope
4243

4344
### Structural
4445

45-
| Property | Overview |
46-
|:--------------------------------------------------- |:------------------------------------------------|
47-
| [Magnetic Moments](structural/magnetic-moment.md) | The magnetic moment of ferromagnetic materials when the "Magnetism" modifier is activated |
48-
| [Basis Atoms](structural/basis.md) | The individual atoms comprised in the crystal structure |
49-
| [Atomic forces](structural/atomic-forces.md) | Force exerted on each atom by its surrounding |
50-
| [Bravais Lattice](structural/lattice.md) | The underlying Bravais Lattice of the crystal structure |
51-
| [Space Group](structural/space-group.md) | Information about the symmetry elements contained in crystal structure |
52-
| [Final Structure](structural/final-structure.md) | The final crystal structure obtained from basis atoms and lattice, and its visualization |
53-
| [InChI](structural/inchi.md) | The International Chemical Identifier for a non-periodic structure. |
54-
| [InchiKey](structural/inchi-key.md) | The fixed length, non-human readable identifier string derived from an InChI for a non-periodic structure. |
46+
| Property | Overview |
47+
|:--------------------------------------------------|:------------------------------------------------|
48+
| [Magnetic Moments](structural/magnetic-moment.md) | The magnetic moment of ferromagnetic materials when the "Magnetism" modifier is activated |
49+
| [Basis Atoms](structural/basis.md) | The individual atoms comprised in the crystal structure |
50+
| [Atomic forces](structural/atomic-forces.md) | Force exerted on each atom by its surrounding |
51+
| [Bravais Lattice](structural/lattice.md) | The underlying Bravais Lattice of the crystal structure |
52+
| [Symmetry](structural/symmetry.md) | Information about the symmetry elements contained in crystal structure |
53+
| [Final Structure](structural/final-structure.md) | The final crystal structure obtained from basis atoms and lattice, and its visualization |
54+
| [InChI](structural/inchi.md) | The International Chemical Identifier for a non-periodic structure. |
55+
| [InchiKey](structural/inchi-key.md) | The fixed length, non-human readable identifier string derived from an InChI for a non-periodic structure. |
5556

5657
### Elemental
5758

0 commit comments

Comments
 (0)