Skip to content

Commit 4f57185

Browse files
committed
NO_JIRA Created file structure based on licence. Updated some scripts for PEP8 compliance. Changed any http links to https. Improved comments and docstrings for clarity.
1 parent a102850 commit 4f57185

121 files changed

Lines changed: 884 additions & 1224 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.yamllint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
# Project Homepage: https://github.com/adrienverge/yamllint
66
#
77
# Overriding rules in files:
8-
# http://yamllint.readthedocs.io/en/latest/disable_with_comments.html
8+
# https://yamllint.readthedocs.io/en/latest/disable_with_comments.html
99
---
1010
extends: default
1111

12-
# Rules documentation: http://yamllint.readthedocs.io/en/latest/rules.html
12+
# Rules documentation: https://yamllint.readthedocs.io/en/latest/rules.html
1313
rules:
1414
document-start: disable
1515
line-length:

api_paper_2024/example_2/about_entry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
#
33
# This script can be used for any purpose without limitation subject to the
4-
# conditions at http://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
4+
# conditions at https://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
55
#
66
# This permission notice and the following statement of attribution must be
77
# included in all copies or substantial portions of this script.

api_paper_2024/example_2/language_processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
pages ="7233-7241",
2424
publisher ="The Royal Society of Chemistry",
2525
doi ="10.1039/D0CE00045K",
26-
url ="http://dx.doi.org/10.1039/D0CE00045K",
26+
url ="https://dx.doi.org/10.1039/D0CE00045K",
2727
"""
2828
# For now, to prevent deprecation warnings tripping things up
2929
import warnings

api_paper_2024/example_2/references.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
#
33
# This script can be used for any purpose without limitation subject to the
4-
# conditions at http://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
4+
# conditions at https://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
55
#
66
# This permission notice and the following statement of attribution must be
77
# included in all copies or substantial portions of this script.

api_paper_2024/example_2/url_requesting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
#
33
# This script can be used for any purpose without limitation subject to the
4-
# conditions at http://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
4+
# conditions at https://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
55
#
66
# This permission notice and the following statement of attribution must be
77
# included in all copies or substantial portions of this script.

api_paper_2024/example_4/mercury_metal_voronoi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# This script can be used for any purpose without limitation subject to the
3-
# conditions at http://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
3+
# conditions at https://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
44
#
55
# This permission notice and the following statement of attribution must be
66
# included in all copies or substantial portions of this script.

api_paper_2024/example_4/mercury_molecular_voronoi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# This script can be used for any purpose without limitation subject to the
3-
# conditions at http://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
3+
# conditions at https://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
44
#
55
# This permission notice and the following statement of attribution must be
66
# included in all copies or substantial portions of this script.

api_paper_2024/example_4/voronoi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# This script can be used for any purpose without limitation subject to the
3-
# conditions at http://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
3+
# conditions at https://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
44
#
55
# This permission notice and the following statement of attribution must be
66
# included in all copies or substantial portions of this script.

api_paper_2024/example_5/particle_shape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# This script can be used for any purpose without limitation subject to the
3-
# conditions at http://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
3+
# conditions at https://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
44
#
55
# This permission notice and the following statement of attribution must be
66
# included in all copies or substantial portions of this script.

api_paper_2024/example_5/shape_classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# This script can be used for any purpose without limitation subject to the
3-
# conditions at http://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
3+
# conditions at https://www.ccdc.cam.ac.uk/Community/Pages/Licences/v2.aspx
44
#
55
# This permission notice and the following statement of attribution must be
66
# included in all copies or substantial portions of this script.

0 commit comments

Comments
 (0)