You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-11Lines changed: 22 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@
2
2
3
3
# CSD Python API Scripts
4
4
5
-
6
5
A repository containing scripts that have been created to leverage the toolkit found within
7
6
the [CCDC portfolio](https://www.ccdc.cam.ac.uk/solutions/) that are accessible via
8
7
the [CSD Python API](https://www.ccdc.cam.ac.uk/solutions/csd-core/components/csd-python-api/).
@@ -29,29 +28,41 @@ Don’t have a licence? Contact us [here to request a quote or demonstration.](h
29
28
30
29
## Downloading Scripts
31
30
32
-
This section will focus on how to download multiple or individual scripts:
33
-
34
-
### 1. Downloading All Scripts
31
+
We advise that users `fork` the repository to ensure they can keep up to date with any modification.
32
+
If you don't want to worry about having a GitHub account or are not confident with Git, you can download the scripts straight from this webpage.
35
33
34
+
The following section will outline how to download multiple or individual scripts:
36
35
37
-
#### Downloading Zip file:
38
-
Click `Code` and Select `Download Zip`:
36
+
### 1. Downloading All Scripts in a Zip file
39
37
40
-
<imgsrc="assets/download_zip.png"width="250px">
38
+
Whilst in the main repository window click `Code` and select `Download Zip`:
41
39
40
+
<imgsrc="assets/download_zip.gif"width="300px">
42
41
43
42
### 2. Downloading Individual Scripts
44
43
45
-
#### TODO - Add gif of downloading single file
46
-
#### TODO - write instructions on how to download
44
+
Once you've found a script/file you wish to download, click on it. This will show you the content of the file. In the top right of the file click `Raw`.
45
+
This will open the content in a tab where you can `Right-Click` in the text and select `"Save As..."`.
47
46
47
+
You will be asked to in your file explorer where you wish to save the file. Please specify the file extension at this point, by default `.txt` is used (For python scripts `.py` is required.)
48
48
49
-
## Running scripts through the CSD Python API Miniconda installed
1.[Create a Fork of the repository](https://docs.github.com/en/get-started/quickstart/contributing-to-projects#forking-a-repository) (A fork is a copy of a repository that you manage. Forks let you make changes to a project without affecting the CSD GitHub repo. You can fetch updates from or submit changes to the CSD GitHub repo with pull requests.)
63
+
64
+
2.[Commit your changes to the forked repository](https://docs.github.com/en/get-started/quickstart/contributing-to-projects#making-and-pushing-changes) (on a branch).
65
+
66
+
3.[Create a Pull Request](https://docs.github.com/en/get-started/quickstart/contributing-to-projects#making-a-pull-request) to this repository.
67
+
68
+
4. Once the code has been reviewed it can be merged into the CSD GitHub repo by someone from the CCDC.
0 commit comments